From fa6c92286827e8323e152b099adeb0ddc28c1e69 Mon Sep 17 00:00:00 2001 From: tflidd Date: Sat, 18 Apr 2015 16:46:15 +0200 Subject: [PATCH] more ticks --- controller/lib/bookmarks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/lib/bookmarks.php b/controller/lib/bookmarks.php index ac3071f7..e84b9e9a 100644 --- a/controller/lib/bookmarks.php +++ b/controller/lib/bookmarks.php @@ -491,7 +491,7 @@ class Bookmarks { if ($dbtype === 'mysql') { $sql .= 'from dual '; } - $sql .= 'where not exists(select * from `*PREFIX*bookmarks_tags` where bookmark_id = ? and tag = ?)'; + $sql .= 'where not exists(select * from `*PREFIX*bookmarks_tags` where `bookmark_id` = ? and `tag` = ?)'; $query = $db->prepareQuery($sql); foreach ($tags as $tag) {