]> git.mxchange.org Git - friendica.git/commitdiff
spaces -> tab + added spaces
authorRoland Häder <roland@mxchange.org>
Thu, 26 Jan 2017 09:09:54 +0000 (10:09 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 18 Mar 2017 23:41:00 +0000 (00:41 +0100)
Signed-off-by: Roland Häder <roland@mxchange.org>
mod/settings.php

index b77b1336d1711aa025bca52b73ad5a8bf2deda00..6f57bc0a85e41059efeb3051d07b1ecd1c143573 100644 (file)
@@ -364,22 +364,22 @@ function settings_post(App $a) {
 
        call_hooks('settings_post', $_POST);
 
-       if((x($_POST,'password')) || (x($_POST,'confirm'))) {
+       if ((x($_POST,'password')) || (x($_POST,'confirm'))) {
 
                $newpass = $_POST['password'];
                $confirm = $_POST['confirm'];
                $oldpass = hash('whirlpool', $_POST['opassword']);
 
                $err = false;
-               if($newpass != $confirm ) {
+               if ($newpass != $confirm ) {
                        notice( t('Passwords do not match. Password unchanged.') . EOL);
                        $err = true;
                }
 
-               if((! x($newpass)) || (! x($confirm))) {
+               if ((! x($newpass)) || (! x($confirm))) {
                        notice( t('Empty passwords are not allowed. Password unchanged.') . EOL);
                        $err = true;
-        }
+               }
 
                //  check if the old password was supplied correctly before
                //  changing it to the new value