diff options
author | blizzz <blizzz@owncloud.com> | 2015-04-20 14:41:43 +0300 |
---|---|---|
committer | blizzz <blizzz@owncloud.com> | 2015-04-20 14:41:43 +0300 |
commit | 2806b5014a119c88f9387a95172afeabf0c4f9db (patch) | |
tree | 376ad231bac57468514abdcb98ce649fdab1ea26 | |
parent | 41faf6b94013d9fd5f8547f69951ca13497d034b (diff) | |
parent | 63a0922aa6d92966aadd6e5c3bffd9b2227e0e24 (diff) |
Merge pull request #144 from owncloud/backport-129-stable7v7.0.9RC1v7.0.9v7.0.8beta1v7.0.8RC1v7.0.8v7.0.7betav7.0.7RC1v7.0.7v7.0.6RC2v7.0.6RC1v7.0.6v7.0.15RC2v7.0.15RC1v7.0.15v7.0.14RC2v7.0.14RC1v7.0.14v7.0.13RC2v7.0.13RC1v7.0.13v7.0.12RC1v7.0.12v7.0.11RC2v7.0.11RC1v7.0.11v7.0.10
backport database fix from c30d34c to stable7
-rw-r--r-- | lib/bookmarks.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |