]> git.mxchange.org Git - friendica.git/blobdiff - mod/wallmessage.php
Group selection: Respect "pubmail" and ignore atchived or blocked contacts
[friendica.git] / mod / wallmessage.php
index 780230b8c700e479dfc28744b41877ddb9b88f40..ad8ca96675d638b5a3a80651843423af9339c9f3 100644 (file)
@@ -131,8 +131,8 @@ function wallmessage_content(App $a) {
                '$subject'    => L10n::t('Subject:'),
                '$recipname'  => $user['username'],
                '$nickname'   => $user['nickname'],
-               '$subjtxt'    => defaults($_REQUEST, 'subject', ''),
-               '$text'       => defaults($_REQUEST, 'body', ''),
+               '$subjtxt'    => $_REQUEST['subject'] ?? '',
+               '$text'       => $_REQUEST['body'] ?? '',
                '$readonly'   => '',
                '$yourmessage'=> L10n::t('Your message:'),
                '$parent'     => '',