mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:37:02 +02:00
fixed minor webui bugs
This commit is contained in:
@ -293,11 +293,13 @@ class ModelSearchSearch extends Model {
|
||||
|
||||
$q = "";
|
||||
|
||||
foreach($query->rows as $a) {
|
||||
array_push($ids, $a['id']);
|
||||
if(isset($query->rows)) {
|
||||
foreach($query->rows as $a) {
|
||||
array_push($ids, $a['id']);
|
||||
|
||||
if($q) { $q .= ",?"; }
|
||||
else { $q = "?"; }
|
||||
if($q) { $q .= ",?"; }
|
||||
else { $q = "?"; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user