Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/bookmarks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblizzz <blizzz@owncloud.com>2015-04-20 14:41:43 +0300
committerblizzz <blizzz@owncloud.com>2015-04-20 14:41:43 +0300
commit2806b5014a119c88f9387a95172afeabf0c4f9db (patch)
tree376ad231bac57468514abdcb98ce649fdab1ea26
parent41faf6b94013d9fd5f8547f69951ca13497d034b (diff)
parent63a0922aa6d92966aadd6e5c3bffd9b2227e0e24 (diff)
backport database fix from c30d34c to stable7
-rw-r--r--lib/bookmarks.php2
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) {