projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e0f395
)
Prepopulate newnotice from URL arg
author
Chimo
<chimo@chromic.org>
Mon, 9 Feb 2015 23:06:26 +0000
(18:06 -0500)
committer
Chimo
<chimo@chromic.org>
Mon, 9 Feb 2015 23:06:26 +0000
(18:06 -0500)
actions/newnotice.php
patch
|
blob
|
history
diff --git
a/actions/newnotice.php
b/actions/newnotice.php
index d1e47fec5c095b994240f870d296be01303a7caf..0432064a42b9df2ae9154d8120f7170f0da3a1ff 100644
(file)
--- 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');
+ }
}
/**