mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:40:12 +01:00
search fix
This commit is contained in:
parent
dc0419d05a
commit
309ad52414
@ -292,7 +292,7 @@ class ModelSearchSearch extends Model {
|
|||||||
else if(isset($data['has_attachment']) && $data['has_attachment'] == 1) { $attachment = "attachments > 0 AND "; }
|
else if(isset($data['has_attachment']) && $data['has_attachment'] == 1) { $attachment = "attachments > 0 AND "; }
|
||||||
|
|
||||||
|
|
||||||
if(isset($data['id'])) {
|
if(isset($data['id']) && $data['id']) {
|
||||||
$data['id'] = preg_replace("/ /", "," , substr($data['id'], 1, strlen($data['id'])));
|
$data['id'] = preg_replace("/ /", "," , substr($data['id'], 1, strlen($data['id'])));
|
||||||
$id = " id IN (" . $data['id'] . ") AND ";
|
$id = " id IN (" . $data['id'] . ") AND ";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user