diff --git a/controller/lib/bookmarks.php b/controller/lib/bookmarks.php index 17d631c2..bbc59eb5 100644 --- a/controller/lib/bookmarks.php +++ b/controller/lib/bookmarks.php @@ -494,7 +494,7 @@ class Bookmarks { if ($dbtype === 'mysql') { $sql .= 'from dual '; } - $sql .= 'where not exists(select * from oc_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) {