From 3787fb6743c11bdf39298b927ac00df243f100a3 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 23 Nov 2006 23:40:50 +0000 Subject: 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 --- include/functions_search.inc.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') 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( -- cgit v1.2.3