From: Michael Vogel Date: Sun, 1 Dec 2013 23:41:59 +0000 (+0100) Subject: Just some code beautification. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=70e017745a052906bc8a7c0187c0ea2a3a7adc08;p=friendica.git Just some code beautification. --- diff --git a/mod/settings.php b/mod/settings.php index c8fcf39146..0b0113e9b0 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -317,8 +317,8 @@ function settings_post(&$a) { if((x($_POST,'password')) || (x($_POST,'confirm'))) { $newpass = $_POST['password']; - $confirm = $_POST['confirm']; - $oldpass = hash('whirlpool', $_POST['opassword']); + $confirm = $_POST['confirm']; + $oldpass = hash('whirlpool', $_POST['opassword']); $err = false; if($newpass != $confirm ) {