Changeset 542 for trunk/Modules/Search/Search.php
- Timestamp:
- Jun 2, 2013, 9:14:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Search/Search.php
r541 r542 23 23 foreach($this->System->ModuleManager->Modules['Search']->Items as $Item) 24 24 { 25 $Output .= '<strong>'.$Item['Name'].'</strong><br/>';26 25 $Columns = ''; 27 26 $Condition = ''; … … 35 34 $DbResult = $this->Database->Select($Item['Table'], $Columns, $Condition.' LIMIT '. 36 35 $this->System->ModuleManager->Modules['Search']->MaxItemCount); 37 echo($this->Database->LastQuery);36 if($DbResult->num_rows > 0) $Output .= '<strong>'.$Item['Name'].'</strong><br/>'; 38 37 while($Row = $DbResult->fetch_assoc()) 39 38 {
Note:
See TracChangeset
for help on using the changeset viewer.