From: Chimo <chimo@chromic.org>
Date: Mon, 9 Feb 2015 23:06:26 +0000 (-0500)
Subject: Prepopulate newnotice from URL arg
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d816af9aa9ac1e41f0aa4f580ab36bdf043cc3b5;p=quix0rs-gnu-social.git

Prepopulate newnotice from URL arg
---

diff --git a/actions/newnotice.php b/actions/newnotice.php
index d1e47fec5c..0432064a42 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -73,6 +73,10 @@ class NewnoticeAction extends FormAction
                 $this->formOpts[$opt] = $this->trimmed($opt);
             }
         }
+
+        if ($this->trimmed('content')) {
+            $this->formOpts['content'] = $this->trimmed('content');
+        }
     }
 
     /**