correct number of args to saveNew in newnotice

darcs-hash:20081020173108-5ed1f-06b346f0f341bf8401d29dcf725db69c5d26cc14.gz
This commit is contained in:
Evan Prodromou 2008-10-20 13:31:08 -04:00
parent b43af6ad53
commit 278f5cf842

View 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);