diff --git a/lib/bookmarks.php b/lib/bookmarks.php index e843b1f9..11f7ca0a 100644 --- a/lib/bookmarks.php +++ b/lib/bookmarks.php @@ -383,7 +383,7 @@ class OC_Bookmarks_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 = OCP\DB::prepare($sql); foreach ($tags as $tag) {