From d816af9aa9ac1e41f0aa4f580ab36bdf043cc3b5 Mon Sep 17 00:00:00 2001 From: Chimo Date: Mon, 9 Feb 2015 18:06:26 -0500 Subject: [PATCH] Prepopulate newnotice from URL arg --- actions/newnotice.php | 4 ++++ 1 file changed, 4 insertions(+) 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'); + } } /** -- 2.39.2