mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:50:12 +01:00
Fixed attachment type search query assembly
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
90e06de835
commit
b91c899f75
@ -115,9 +115,8 @@ class ModelSearchSearch extends Model {
|
||||
$i = 0;
|
||||
foreach($data['match'] as $k => $v) {
|
||||
if($v == "@attachment_types") {
|
||||
list($k, $v) = each($data['match']);
|
||||
$i++;
|
||||
if($v == "any") {
|
||||
if($data['match'][$i] == "any") {
|
||||
$data['match'][$i-1] = "";
|
||||
$data['match'][$i] = "";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user