mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#12727 fix search agents
This commit is contained in:
parent
353c7e1fa1
commit
f42a0de0ed
@ -33,7 +33,7 @@ foreach ($arrayKeywords as $keyword) {
|
||||
array_push($temp, '%'.$keyword.'%');
|
||||
}
|
||||
|
||||
$stringSearchSQL = implode(' ', $temp);
|
||||
$stringSearchSQL = implode('', $temp);
|
||||
$stringSearchSQL = str_replace('_', '\_', $stringSearchSQL);
|
||||
|
||||
$_SESSION['stringSearchSQL'] = $stringSearchSQL;
|
||||
@ -206,7 +206,7 @@ ui_print_standard_header(
|
||||
);
|
||||
|
||||
$only_count = false;
|
||||
|
||||
hd(io_safe_input($_SESSION['stringSearchSQL']), true);
|
||||
switch ($searchTab) {
|
||||
case 'main':
|
||||
$only_count = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user