]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/newnotice.php
Prepopulate newnotice from URL arg
[quix0rs-gnu-social.git] / actions / newnotice.php
index d1e47fec5c095b994240f870d296be01303a7caf..0432064a42b9df2ae9154d8120f7170f0da3a1ff 100644 (file)
@@ -73,6 +73,10 @@ class NewnoticeAction extends FormAction
                 $this->formOpts[$opt] = $this->trimmed($opt);
             }
         }
+
+        if ($this->trimmed('content')) {
+            $this->formOpts['content'] = $this->trimmed('content');
+        }
     }
 
     /**