Fix error in search method.
This commit is contained in:
		| @@ -562,8 +562,7 @@ class ModelMySQL { | |||||||
|     $where = []; |     $where = []; | ||||||
|      |      | ||||||
|     foreach($in as $row){ |     foreach($in as $row){ | ||||||
|       if(in_array($row, $objAtts)) |       $where[] = "$row LIKE '%$search%'"; | ||||||
|         $where[] = "$row LIKE '%$search%'"; |  | ||||||
|     } |     } | ||||||
|      |      | ||||||
|     if (self::$querySelect['where']=='') |     if (self::$querySelect['where']=='') | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user