From b1ff7d7a2bb21a0ca345c828335f32b3c44407fb Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 26 Aug 2008 17:11:08 -0400 Subject: fix error storing uris of remote notices darcs-hash:20080826211108-84dde-b277bdb1476b9cec0c0d93fa8d565c4642ba16c8.gz --- actions/postnotice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/postnotice.php') 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; -- cgit v1.2.3