1
0
Fork 0

Just some code beautification.

This commit is contained in:
Michael Vogel 2013-12-02 00:41:59 +01:00
parent e0cf2c5167
commit 70e017745a

View file

@ -317,8 +317,8 @@ function settings_post(&$a) {
if((x($_POST,'password')) || (x($_POST,'confirm'))) { if((x($_POST,'password')) || (x($_POST,'confirm'))) {
$newpass = $_POST['password']; $newpass = $_POST['password'];
$confirm = $_POST['confirm']; $confirm = $_POST['confirm'];
$oldpass = hash('whirlpool', $_POST['opassword']); $oldpass = hash('whirlpool', $_POST['opassword']);
$err = false; $err = false;
if($newpass != $confirm ) { if($newpass != $confirm ) {