From 5b1a99d0c599ad89b660a4758499ad140266aae0 Mon Sep 17 00:00:00 2001 From: jgen Date: Sat, 5 Oct 2013 14:28:02 -0400 Subject: [PATCH] Fixing missing $. (Thanks Shish!) --- core/imageboard.pack.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php index 11710214..e36c40ee 100644 --- a/core/imageboard.pack.php +++ b/core/imageboard.pack.php @@ -698,7 +698,7 @@ class Image { $count_tag_querylets = count($tag_querylets); // no tags, do a simple search (+image metadata if we have any) - if(count_tag_querylets === 0) { + if($count_tag_querylets === 0) { $query = new Querylet("SELECT images.* FROM images "); if(!empty($img_search->sql)) { @@ -708,7 +708,7 @@ class Image { } // one positive tag (a common case), do an optimised search - else if(count_tag_querylets === 1 && $tag_querylets[0]->positive) { + else if($count_tag_querylets === 1 && $tag_querylets[0]->positive) { $query = new Querylet($database->scoreql_to_sql(" SELECT images.* FROM images JOIN image_tags ON images.id=image_tags.image_id