diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-05-29 14:08:10 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-06-01 21:31:05 +0200 |
commit | 61a5fd59cf020e552fae7f28b354726edf4b6b7d (patch) | |
tree | 7079d6f9ea32562c16d82f36022456ea0198166c /phpBB/phpbb | |
parent | 146d3cfe7534d226530e0a42fa3fff37d26608f2 (diff) | |
download | forums-61a5fd59cf020e552fae7f28b354726edf4b6b7d.tar forums-61a5fd59cf020e552fae7f28b354726edf4b6b7d.tar.gz forums-61a5fd59cf020e552fae7f28b354726edf4b6b7d.tar.bz2 forums-61a5fd59cf020e552fae7f28b354726edf4b6b7d.tar.xz forums-61a5fd59cf020e552fae7f28b354726edf4b6b7d.zip |
[ticket/12352] Add missing $ to md5_mybb and md5_vb driver
PHPBB3-12352
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/passwords/driver/md5_mybb.php | 2 | ||||
-rw-r--r-- | phpBB/phpbb/passwords/driver/md5_vb.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/passwords/driver/md5_mybb.php b/phpBB/phpbb/passwords/driver/md5_mybb.php index ca416c4401..59a08039f2 100644 --- a/phpBB/phpbb/passwords/driver/md5_mybb.php +++ b/phpBB/phpbb/passwords/driver/md5_mybb.php @@ -46,7 +46,7 @@ class md5_mybb extends base */ public function check($password, $hash, $user_row = array()) { - if (empty(hash) || !isset($user_row['user_passwd_salt'])) + if (empty($hash) || !isset($user_row['user_passwd_salt'])) { return false; } diff --git a/phpBB/phpbb/passwords/driver/md5_vb.php b/phpBB/phpbb/passwords/driver/md5_vb.php index 9d87503266..719c6279aa 100644 --- a/phpBB/phpbb/passwords/driver/md5_vb.php +++ b/phpBB/phpbb/passwords/driver/md5_vb.php @@ -46,7 +46,7 @@ class md5_vb extends base */ public function check($password, $hash, $user_row = array()) { - if (empty(hash) || !isset($user_row['user_passwd_salt'])) + if (empty($hash) || !isset($user_row['user_passwd_salt'])) { return false; } |