fix bad args in postnotice for new notices

darcs-hash:20080904195720-84dde-f286bfe898ef3e08f07fd977bfe692e9cff6c375.gz
This commit is contained in:
Evan Prodromou 2008-09-04 15:57:20 -04:00
parent 8f33885e41
commit 9078e95e5f
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class PostnoticeAction extends Action {
}
$notice = Notice::staticGet('uri', $notice_uri);
if (!$notice) {
$notice = Notice::saveNew($remote_profile->id, $content, 'omb', 0, $notice_uri);
$notice = Notice::saveNew($remote_profile->id, $content, 'omb', false, 0, $notice_uri);
if (is_string($notice)) {
common_server_serror($notice, 500);
return false;