mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-28 06:29:27 +01:00
Fix minore
This commit is contained in:
parent
aac06d1c0f
commit
a871ae89b5
@ -232,7 +232,9 @@ class Query
|
||||
if ($data != "'1970-01-01'") {
|
||||
$search_filters[] = 'date('.$search_query.') = '.$data.'';
|
||||
}
|
||||
} else {
|
||||
} elseif ($equal) {
|
||||
$search_filters[] = ($search_query.' = '.prepare($value));
|
||||
} else {
|
||||
$search_filters[] = ($search_query.' = '.prepare($value).' OR '.$search_query.' LIKE '.prepare('% '.$value).' OR '.$search_query.' LIKE '.prepare($value.' %').' OR '.$search_query.' LIKE '.prepare('% '.$value.' %'));
|
||||
}
|
||||
} elseif ($notequal) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user