Get the values from the correct object.

This commit is contained in:
Mikael Nordfeldth 2015-03-06 00:47:18 +01:00
parent f35ea45e09
commit 62596d462b

View File

@ -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',