Correction to negative tag code
This commit is contained in:
parent
4136b1bb6b
commit
f5a5352511
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user