projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0cf2c5
)
Just some code beautification.
author
Michael Vogel
<icarus@dabo.de>
Sun, 1 Dec 2013 23:41:59 +0000
(
00:41
+0100)
committer
Michael Vogel
<icarus@dabo.de>
Sun, 1 Dec 2013 23:41:59 +0000
(
00:41
+0100)
mod/settings.php
patch
|
blob
|
history
diff --git
a/mod/settings.php
b/mod/settings.php
index c8fcf39146fc880f78349c0ab6ffeb382de43216..0b0113e9b0e53df60c990f354e70ba717ece96ea 100644
(file)
--- 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 ) {