aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_search.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2006-11-23 23:40:50 +0000
committerplegall <plg@piwigo.org>2006-11-23 23:40:50 +0000
commit3787fb6743c11bdf39298b927ac00df243f100a3 (patch)
tree69c7ca0e2da36c087e89a79682cc262e3de72a95 /include/functions_search.inc.php
parent5de8aeafad74a35be113fd34917d66a5b10fce1e (diff)
bug fixed: searching $search array twice in get_regular_search_results was
useless and buggy because $search_id was not existing in this function. git-svn-id: http://piwigo.org/svn/trunk@1618 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_search.inc.php')
-rw-r--r--include/functions_search.inc.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/functions_search.inc.php b/include/functions_search.inc.php
index ce2e6115b..40663dfe3 100644
--- a/include/functions_search.inc.php
+++ b/include/functions_search.inc.php
@@ -232,8 +232,6 @@ SELECT DISTINCT(id)
$items = array_from_query($query, 'id');
}
- $search = get_search_array($search_id);
-
if (isset($search['fields']['tags']))
{
$tag_items = get_image_ids_for_tags(