Browse Source

Just some code beautification.

pull/843/head
Michael Vogel 7 years ago
parent
commit
70e017745a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mod/settings.php

+ 2
- 2
mod/settings.php 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 ) {


Loading…
Cancel
Save