diff options
author | rvelices <rv-github@modusoptimus.com> | 2010-04-06 20:04:42 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2010-04-06 20:04:42 +0000 |
commit | 4e4f257a58d1369ed506461a42522f79bc532476 (patch) | |
tree | 98aeaac3d733ccd87b9834c71b7b8fb3b2f1317e /include/functions_search.inc.php | |
parent | f8293effea23332e906173986a1902e224393f00 (diff) |
fixes only:
- some searches returned bad array for page['items'] (resulting in php warnings and sometimes mysql fatal error) still existing in branch 2.0
- mysql fatal error in admin maintenance
- php warn in plugins_list.php
- fix check on function param in admin/include/functions.php
git-svn-id: http://piwigo.org/svn/trunk@5691 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/functions_search.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_search.inc.php b/include/functions_search.inc.php index ad9c5699b..8f6af51dd 100644 --- a/include/functions_search.inc.php +++ b/include/functions_search.inc.php @@ -252,7 +252,7 @@ SELECT DISTINCT(id) } else { - $items = array_intersect($items, $tag_items); + $items = array_values( array_intersect($items, $tag_items) ); } break; case 'OR': |