]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Get the values from the correct object.
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 5 Mar 2015 23:47:18 +0000 (00:47 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 5 Mar 2015 23:47:18 +0000 (00:47 +0100)
actions/emailsettings.php

index fb61b2a05f03ea7c3283fbf22c6cbd6cc2c0b3ec..dfdbe1bad066cac4dcb6f93156f3537fe1bcb699 100644 (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',