aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_search.inc.php2
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':