X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fnewmessage.php;h=96ada1cee8ef1d72249b5d66c6a37d07b5f6fa58;hb=f8b49e69d02806110cbc780fce4671fbe3357438;hp=6816ffae6bfc76a31d561d95cc79fadaae671ccd;hpb=1c6f9df80e7e6927e964fdfdd72fda9b15106ddd;p=quix0rs-gnu-social.git diff --git a/actions/newmessage.php b/actions/newmessage.php index 6816ffae6b..96ada1cee8 100644 --- a/actions/newmessage.php +++ b/actions/newmessage.php @@ -74,7 +74,7 @@ class NewmessageAction extends FormAction * @return void */ - protected function prepare($args) + protected function prepare(array $args=array()) { parent::prepare($args); @@ -154,7 +154,7 @@ class NewmessageAction extends FormAction sprintf(_('Direct message to %s sent.'), $this->other->nickname)); $this->elementEnd('body'); - $this->elementEnd('html'); + $this->endHTML(); } else { $url = common_local_url('outbox', array('nickname' => $this->scoped->nickname)); @@ -182,7 +182,7 @@ class NewmessageAction extends FormAction $this->elementStart('body'); $this->element('p', array('id' => 'error'), $msg); $this->elementEnd('body'); - $this->elementEnd('html'); + $this->endHTML(); } function showForm($msg = null)