diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php index e467e2db..00aa8373 100644 --- a/core/imageboard.pack.php +++ b/core/imageboard.pack.php @@ -590,6 +590,7 @@ class Image { $sql .= " (" . $iq->qlet->sql . ")"; $terms = array_merge($terms, $iq->qlet->variables); } + $tag_n = 0; $img_search = new Querylet($sql, $terms);