From ac3bf33402e0f7a1688c7c09a1ebd7081aa00023 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 18 Oct 2011 22:32:04 +0100 Subject: [PATCH] tag_n wasn't used by accurate search, but was by ugly --- core/imageboard.pack.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php index e92b01e4..249b1b2f 100644 --- a/core/imageboard.pack.php +++ b/core/imageboard.pack.php @@ -591,7 +591,6 @@ class Image { $sql .= " (" . $iq->qlet->sql . ")"; $terms = array_merge($terms, $iq->qlet->variables); } - $tag_n = 0; $img_search = new Querylet($sql, $terms); @@ -848,6 +847,7 @@ class Image { } } + $tag_n = 0; return $query; } }