Just some code beautification.

This commit is contained in:
Michael Vogel 2013-12-02 00:41:59 +01:00
parent e0cf2c5167
commit 70e017745a
1 changed files with 2 additions and 2 deletions

View File

@ -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 ) {