correct number of args to saveNew in newnotice
darcs-hash:20081020173108-5ed1f-06b346f0f341bf8401d29dcf725db69c5d26cc14.gz
This commit is contained in:
parent
b43af6ad53
commit
278f5cf842
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user