Correction to negative tag code
This commit is contained in:
parent
4136b1bb6b
commit
f5a5352511
@ -1048,7 +1048,7 @@ class Image
|
|||||||
$sql = "
|
$sql = "
|
||||||
SELECT images.*
|
SELECT images.*
|
||||||
FROM images LEFT JOIN image_tags negative ON negative.image_id = images.id AND negative.tag_id in ($negative_tag_id_list)
|
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 {
|
} else {
|
||||||
throw new SCoreException("No criteria specified");
|
throw new SCoreException("No criteria specified");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user