search query fix

This commit is contained in:
SJ 2014-10-22 10:17:28 +02:00
parent a7fec90f37
commit 0f962a9bcf

View File

@ -142,6 +142,9 @@ class ModelSearchSearch extends Model {
if($v == "any") {
$data['match'][$i-1] = "";
$data['match'][$i] = "";
}
if($a == '') {
$a = "attachments > 0 AND ";
}
}