summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-10-20 13:31:08 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-10-20 13:31:08 -0400
commit278f5cf8426d1b5648840508fef293b59246d023 (patch)
treef6dd371c4f3599df2307d0a65fad8f304ae5d85d /actions
parentb43af6ad536a1d993675034acf4fe1dc7c0a8011 (diff)
correct number of args to saveNew in newnotice
darcs-hash:20081020173108-5ed1f-06b346f0f341bf8401d29dcf725db69c5d26cc14.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/newnotice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index 8a1fd293f..d581272e2 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -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);