]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
accidentally setting replies to 'false'
authorEvan Prodromou <evan@controlyourself.ca>
Mon, 20 Oct 2008 17:49:56 +0000 (13:49 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 20 Oct 2008 17:49:56 +0000 (13:49 -0400)
darcs-hash:20081020174956-5ed1f-f0a632482ab9d2f2d15baa3a524bc312d7be5755.gz

actions/newnotice.php

index d581272e2bbcadec3a5c5b8a483ba175ac88c3e6..b5fc98c37c904d662200da2653931f5199be889e 100644 (file)
@@ -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);