]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/newnotice.php
fixup textarea again
[quix0rs-gnu-social.git] / actions / newnotice.php
index cc62901f2bd0ada1d72815e71e49adaa0d67a9c7..faf9b21ef6ae80248efa658fe5fdca9ee8081956 100644 (file)
@@ -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) {