From 63a0922aa6d92966aadd6e5c3bffd9b2227e0e24 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 20 Apr 2015 13:24:06 +0200 Subject: [PATCH] backport database fix from c30d34c to stable7 --- lib/bookmarks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {