From: Mikael Nordfeldth Date: Tue, 29 Mar 2016 10:55:50 +0000 (+0200) Subject: Gah, bad syntax X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cb212ba41c20412aabab5e7077f308bf8bfe3c07;p=quix0rs-gnu-social.git Gah, bad syntax --- diff --git a/plugins/Bookmark/BookmarkPlugin.php b/plugins/Bookmark/BookmarkPlugin.php index 050e529e0d..e6afa0b6da 100644 --- a/plugins/Bookmark/BookmarkPlugin.php +++ b/plugins/Bookmark/BookmarkPlugin.php @@ -356,7 +356,7 @@ class BookmarkPlugin extends MicroAppPlugin $notice = new Notice(); $notice->joinAdd(array('uri', 'bookmark:uri')); - $notice->whereAdd('object_type IS NULL OR object_type = '.$notice->escape(ActivityObject::NOTE)); + $notice->whereAdd('object_type IS NULL OR object_type = '.$notice->_quote(ActivityObject::NOTE)); $notice->find();