From f5a535251195a4418ca820ba673e8111f3df60a0 Mon Sep 17 00:00:00 2001 From: Matthew Barbour Date: Wed, 26 Jun 2019 23:06:25 -0500 Subject: [PATCH] Correction to negative tag code --- core/imageboard/image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/imageboard/image.php b/core/imageboard/image.php index a532201f..f0ff214e 100644 --- a/core/imageboard/image.php +++ b/core/imageboard/image.php @@ -1048,7 +1048,7 @@ class Image $sql = " SELECT images.* FROM images LEFT JOIN image_tags negative ON negative.image_id = images.id AND negative.tag_id in ($negative_tag_id_list) - WHERE a.image_id IS NULL + WHERE negative.image_id IS NULL "; } else { throw new SCoreException("No criteria specified");