]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
correct number of args to saveNew in newnotice
authorEvan Prodromou <evan@controlyourself.ca>
Mon, 20 Oct 2008 17:31:08 +0000 (13:31 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 20 Oct 2008 17:31:08 +0000 (13:31 -0400)
darcs-hash:20081020173108-5ed1f-06b346f0f341bf8401d29dcf725db69c5d26cc14.gz

actions/newnotice.php

index 8a1fd293ff53591f62014b9a3a477f3a9b62c56f..d581272e2bbcadec3a5c5b8a483ba175ac88c3e6 100644 (file)
@@ -63,7 +63,7 @@ class NewnoticeAction extends Action {
 
                common_debug("Replyto = $replyto\n");
                
-               $notice = Notice::saveNew($user->id, $content, 'web', $replyto);
+               $notice = Notice::saveNew($user->id, $content, 'web', 1, $replyto);
                
                if (is_string($notice)) {
                        $this->show_form($notice);