From 70e017745a052906bc8a7c0187c0ea2a3a7adc08 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 2 Dec 2013 00:41:59 +0100 Subject: [PATCH] Just some code beautification. --- mod/settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) {