mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
Fix quicksearching by category name with spaces
This commit is contained in:
parent
1629cd9386
commit
c34efd0c39
1 changed files with 1 additions and 1 deletions
|
@ -1367,7 +1367,7 @@ SELECT
|
|||
&& (($expr->stoken_modifiers[$i] & (QST_QUOTED|QST_WILDCARD)) == 0)
|
||||
&& (($expr->stoken_modifiers[$i+1] & (QST_BREAK|QST_QUOTED|QST_WILDCARD)) == 0) )
|
||||
{
|
||||
$common = array_intersect( $token_cat_ids[$i], $token_cat_ids[$i+1] );
|
||||
$common = array_values(array_intersect( $token_cat_ids[$i], $token_cat_ids[$i+1] ));
|
||||
if (count($common))
|
||||
{
|
||||
$token_cat_ids[$i] = $token_cat_ids[$i+1] = $common;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue