accidentally setting replies to 'false'

darcs-hash:20081020174956-5ed1f-f0a632482ab9d2f2d15baa3a524bc312d7be5755.gz
This commit is contained in:
Evan Prodromou 2008-10-20 13:49:56 -04:00
parent a7c41c87b1
commit 44a90a7fa7

View File

@ -63,7 +63,7 @@ class NewnoticeAction extends Action {
common_debug("Replyto = $replyto\n"); 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)) { if (is_string($notice)) {
$this->show_form($notice); $this->show_form($notice);