summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/newnotice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index d581272e2..b5fc98c37 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', 1, $replyto);
+ $notice = Notice::saveNew($user->id, $content, 'web', 1, ($replyto == 'false') ? NULL : $replyto);
if (is_string($notice)) {
$this->show_form($notice);