We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 9078e95e authored by Evan Prodromou's avatar Evan Prodromou

fix bad args in postnotice for new notices

parent 8f33885e
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment