]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/newnotice.php
Using empty on a function return value (thanks mrvdb)
[quix0rs-gnu-social.git] / actions / newnotice.php
index 81438502fa67639d4ba28a9934ff22bae960dcd0..3dab96daf3caecbf39bebd6466a5c6080ea9077b 100644 (file)
@@ -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);
             }
         }