forked from GNUsocial/gnu-social
Get the values from the correct object.
This commit is contained in:
parent
f35ea45e09
commit
62596d462b
@ -91,7 +91,7 @@ class EmailsettingsAction extends SettingsAction
|
|||||||
*/
|
*/
|
||||||
function showContent()
|
function showContent()
|
||||||
{
|
{
|
||||||
$user = common_current_user();
|
$user = $this->scoped->getUser();
|
||||||
|
|
||||||
$this->elementStart('form', array('method' => 'post',
|
$this->elementStart('form', array('method' => 'post',
|
||||||
'id' => 'form_settings_email',
|
'id' => 'form_settings_email',
|
||||||
|
Loading…
Reference in New Issue
Block a user