X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fpasswordsettings.php;h=3bb8e3bb9f9d1e6fedf058c27c8e2ceb4877e9b6;hb=d5f86f7a8a113991f050425e411287da4f738ca2;hp=11d7bf785317dd7628999e495abbfc91123571c5;hpb=ed690615de8f6433a1a4d9a8fc7c28385af47d8a;p=quix0rs-gnu-social.git diff --git a/actions/passwordsettings.php b/actions/passwordsettings.php index 11d7bf7853..3bb8e3bb9f 100644 --- a/actions/passwordsettings.php +++ b/actions/passwordsettings.php @@ -110,7 +110,7 @@ class PasswordsettingsAction extends AccountSettingsAction $this->elementEnd('li'); $this->elementStart('li'); $this->password('confirm', _('Confirm'), - _('same as password above')); + _('Same as password above')); $this->elementEnd('li'); $this->elementEnd('ul'); @@ -170,7 +170,7 @@ class PasswordsettingsAction extends AccountSettingsAction } $success = false; - if(! Event::handle('StartChangePassword', array($user, $oldpassword, $newpassword))){ + if(Event::handle('StartChangePassword', array($user, $oldpassword, $newpassword))){ //no handler changed the password, so change the password internally $original = clone($user);