Gah, bad syntax

This commit is contained in:
Mikael Nordfeldth 2016-03-29 12:55:50 +02:00
parent 72cafe03e9
commit cb212ba41c

View 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();