Ignore:
Timestamp:
10/21/10 18:15:20 (9 years ago)
Author:
grum
Message:

fix some bugs and implement public interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ASearchEngine/ase_rb_callback_category.class.inc.php

    r7196 r7318  
    6262    global $user; 
    6363 
     64    $returned=array(); 
    6465    if($param['subCat']=='y') 
    6566    { 
    6667      foreach($param['catIdList'] as $catId) 
    6768      { 
    68         $returned.=" OR FIND_IN_SET($catId, ase_pct.uppercats) "; 
     69        $returned[]=" FIND_IN_SET($catId, ase_pct.uppercats) "; 
    6970      } 
    7071    } 
    7172 
    72     return($returned); 
     73    return(implode(' OR ', $returned)); 
    7374  } 
    7475 
     
    9697  static public function getFilter($param="") 
    9798  { 
    98     return(self::getWhere($param)); 
     99    return(""); 
    99100  } 
    100101 
Note: See TracChangeset for help on using the changeset viewer.