]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix bad args in postnotice for new notices
authorEvan Prodromou <evan@prodromou.name>
Thu, 4 Sep 2008 19:57:20 +0000 (15:57 -0400)
committerEvan Prodromou <evan@prodromou.name>
Thu, 4 Sep 2008 19:57:20 +0000 (15:57 -0400)
darcs-hash:20080904195720-84dde-f286bfe898ef3e08f07fd977bfe692e9cff6c375.gz

actions/postnotice.php

index c1a5e0d5bc95d758d38d987446d54246dda258df..be486a1e9df39491e1b79aa59e298859ea8eb5fb 100644 (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;