1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2025-02-02 02:52:10 +01:00

more ticks

This commit is contained in:
tflidd 2015-04-18 16:46:15 +02:00
parent 8b0011b6b5
commit fa6c922868

View File

@ -491,7 +491,7 @@ class Bookmarks {
if ($dbtype === 'mysql') { if ($dbtype === 'mysql') {
$sql .= 'from dual '; $sql .= 'from dual ';
} }
$sql .= 'where not exists(select * from `*PREFIX*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); $query = $db->prepareQuery($sql);
foreach ($tags as $tag) { foreach ($tags as $tag) {