From: Mikael Nordfeldth Date: Thu, 5 Mar 2015 23:47:18 +0000 (+0100) Subject: Get the values from the correct object. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=62596d462b4b20ab9440223875c59528939d8b64;p=quix0rs-gnu-social.git Get the values from the correct object. --- diff --git a/actions/emailsettings.php b/actions/emailsettings.php index fb61b2a05f..dfdbe1bad0 100644 --- a/actions/emailsettings.php +++ b/actions/emailsettings.php @@ -91,7 +91,7 @@ class EmailsettingsAction extends SettingsAction */ function showContent() { - $user = common_current_user(); + $user = $this->scoped->getUser(); $this->elementStart('form', array('method' => 'post', 'id' => 'form_settings_email',