]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Prepopulate newnotice from URL arg
authorChimo <chimo@chromic.org>
Mon, 9 Feb 2015 23:06:26 +0000 (18:06 -0500)
committerChimo <chimo@chromic.org>
Mon, 9 Feb 2015 23:06:26 +0000 (18:06 -0500)
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');
+        }
     }
 
     /**