summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-26 17:11:08 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-26 17:11:08 -0400
commitb1ff7d7a2bb21a0ca345c828335f32b3c44407fb (patch)
tree234ee9d4211796f82e96f880e443d71368948ebd /actions
parent4a28e70cf8c933642f73de677800dc255562cd58 (diff)
fix error storing uris of remote notices
darcs-hash:20080826211108-84dde-b277bdb1476b9cec0c0d93fa8d565c4642ba16c8.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/postnotice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/postnotice.php b/actions/postnotice.php
index 261593c86..e5a3919ad 100644
--- a/actions/postnotice.php
+++ b/actions/postnotice.php
@@ -74,7 +74,7 @@ class PostnoticeAction extends Action {
}
$notice = Notice::staticGet('uri', $notice_uri);
if (!$notice) {
- $notice = Notice::saveNew($remote_profile->id, $content, 'omb', 0);
+ $notice = Notice::saveNew($remote_profile->id, $content, 'omb', 0, $notice_uri);
if (is_string($notice)) {
common_server_serror($notice, 500);
return false;