summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-04 15:57:20 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-04 15:57:20 -0400
commit9078e95e5f647345e84dfaa78f20d42cfad87dae (patch)
tree77aaaa1558b79a79e28ddecd78d392addfa197f0
parent8f33885e4179ee5d81c70d4d2bf342641c7fd5c9 (diff)
fix bad args in postnotice for new notices
darcs-hash:20080904195720-84dde-f286bfe898ef3e08f07fd977bfe692e9cff6c375.gz
-rw-r--r--actions/postnotice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/postnotice.php b/actions/postnotice.php
index c1a5e0d5b..be486a1e9 100644
--- a/actions/postnotice.php
+++ b/actions/postnotice.php
@@ -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;