diff options
| author | Horus3 | 2014-03-17 18:03:21 +0100 |
|---|---|---|
| committer | Horus3 | 2014-03-17 18:03:21 +0100 |
| commit | 889f10a8bea7105853ca505223dea1a1df07e0b9 (patch) | |
| tree | e7b85a68bc4239184e47a492a1e0ac0a00b088d6 /www/functions/func_password.php | |
| parent | 1c8afbfabc15a35f84290ca7320da0e9e373747e (diff) | |
| download | files.iamfabulous.de-889f10a8bea7105853ca505223dea1a1df07e0b9.tar.gz | |
func mkdir
Diffstat (limited to 'www/functions/func_password.php')
| -rw-r--r-- | www/functions/func_password.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/functions/func_password.php b/www/functions/func_password.php index 486e9ba..40a0212 100644 --- a/www/functions/func_password.php +++ b/www/functions/func_password.php @@ -2,7 +2,7 @@ function change_password($db, $first_password, $second_password){ if($_SESSION["login"]){ - $username = user($db, $_SESSION["username"]); + $username = user_id($db, $_SESSION["username"]); } else { $username_db = $db->query("SELECT id FROM user WHERE email='" . SQLite3::escapeString($_POST['email']) . "';"); $username_ar = $username_db->fetchArray(SQLITE3_NUM); |
