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:14:51 +0300
committerblizzz <blizzz@owncloud.com>2015-04-20 14:14:51 +0300
commitc30d34cce61a88f9ac9d170013aabb72d7afca82 (patch)
tree7f0e05137e901513481394a081f150c121a11a87
parentaed06996422d4e7e7ea26bf0aca8e5131ff0a193 (diff)
parentfa6c92286827e8323e152b099adeb0ddc28c1e69 (diff)
Merge pull request #129 from tflidd/table-prefixv8.1.0alpha2
remove fixed “oc_”-prefix.
-rw-r--r--controller/lib/bookmarks.php2
1 files changed, 1 insertions, 1 deletions
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) {