]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Gah, bad syntax
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 29 Mar 2016 10:55:50 +0000 (12:55 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 29 Mar 2016 10:55:50 +0000 (12:55 +0200)
plugins/Bookmark/BookmarkPlugin.php

index 050e529e0d551997b1fa7a9b184d70cac7f90955..e6afa0b6daf466e295b786b5aca997a1479aa457 100644 (file)
@@ -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();