summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/newnotice.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index cc62901f2..faf9b21ef 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -48,7 +48,8 @@ class NewnoticeAction extends Action {
assert($notice);
$notice->profile_id = $user->id; # user id *is* profile id
$notice->created = DB_DataObject_Cast::dateTime();
- $notice->content = trim($this->arg('content'));
+ # Default theme uses 'content' for something else
+ $notice->content = trim($this->arg('noticecontent'));
$val = $notice->validate();
if ($val === TRUE) {