Ignore:
Timestamp:
Jun 2, 2013, 9:14:50 PM (12 years ago)
Author:
chronos
Message:
  • Opraveno: Import aktualit z jiných webů se odkazoval na dřívější globální proměnnou $Database.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Search/Search.php

    r541 r542  
    2323    foreach($this->System->ModuleManager->Modules['Search']->Items as $Item)
    2424    {
    25       $Output .= '<strong>'.$Item['Name'].'</strong><br/>';
    2625      $Columns = '';
    2726      $Condition = '';
     
    3534      $DbResult = $this->Database->Select($Item['Table'], $Columns, $Condition.' LIMIT '.
    3635        $this->System->ModuleManager->Modules['Search']->MaxItemCount);
    37       echo($this->Database->LastQuery);
     36      if($DbResult->num_rows > 0) $Output .= '<strong>'.$Item['Name'].'</strong><br/>';
    3837      while($Row = $DbResult->fetch_assoc())
    3938      {
Note: See TracChangeset for help on using the changeset viewer.