summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-10-20 13:49:56 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-10-20 13:49:56 -0400
commit44a90a7fa78d8b40485fd36020c333271a0b5734 (patch)
tree10301b82fd06320eba8bde89f7f56c0d1f6ddea5 /actions
parenta7c41c87b102735663426e887c47ff7bc129636c (diff)
accidentally setting replies to 'false'
darcs-hash:20081020174956-5ed1f-f0a632482ab9d2f2d15baa3a524bc312d7be5755.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 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);