From 2fcb9e168e4e6ba5f9937cf21c05f7342c924b77 Mon Sep 17 00:00:00 2001 From: shish Date: Wed, 4 Jul 2007 02:31:15 +0000 Subject: [PATCH] allow single tag wildcards git-svn-id: file:///home/shish/svn/shimmie2/trunk@216 7f39781d-f577-437e-ae19-be835c7a54ca --- core/database.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/database.class.php b/core/database.class.php index 6bc64b8b..67949205 100644 --- a/core/database.class.php +++ b/core/database.class.php @@ -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) {