about summary refs log tree commit diff stats
path: root/central
diff options
context:
space:
mode:
Diffstat (limited to 'central')
-rw-r--r--central/trunk/changepassword.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/central/trunk/changepassword.php b/central/trunk/changepassword.php index 81fc5a7..1b92666 100644 --- a/central/trunk/changepassword.php +++ b/central/trunk/changepassword.php
@@ -18,7 +18,7 @@ if (isset($_SESSION['username']))
18 { 18 {
19 addError($numOfErrors, $errors, 'old', 'Old Password is a required field'); 19 addError($numOfErrors, $errors, 'old', 'Old Password is a required field');
20 } else { 20 } else {
21 if (!instaDisc_verifyUser($_SESSION['username'], $_POST['old']) 21 if (!instaDisc_verifyUser($_SESSION['username'], $_POST['old']))
22 { 22 {
23 addError($numOfErrors, $errors, 'old', 'Old password is not correct'); 23 addError($numOfErrors, $errors, 'old', 'Old password is not correct');
24 } 24 }