allow single tag wildcards

git-svn-id: file:///home/shish/svn/shimmie2/trunk@216 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-07-04 02:31:15 +00:00
parent fe5264c3b1
commit 2fcb9e168e

View file

@ -158,7 +158,7 @@ class Database {
}
else if($positive_tag_count == 1 && $negative_tag_count == 0) {
$query = new Querylet(
"{$this->get_images} WHERE images.id IN (SELECT image_id FROM tags WHERE tag = ?) ",
"{$this->get_images} WHERE images.id IN (SELECT image_id FROM tags WHERE tag LIKE ?) ",
$tag_search->variables);
if(strlen($img_search->sql) > 0) {