mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-02-26 23:54:25 +01:00
Merge pull request #144 from owncloud/backport-129-stable7
backport database fix from c30d34c to stable7
This commit is contained in:
commit
2806b5014a
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user