diff --git a/actions/newnotice.php b/actions/newnotice.php index 81438502fa..3dab96daf3 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -69,7 +69,7 @@ class NewnoticeAction extends FormAction protected function doPreparation() { foreach(array('inreplyto') as $opt) { - if (!empty($this->trimmed($opt))) { + if ($this->trimmed($opt)) { $this->formOpts[$opt] = $this->trimmed($opt); } }