diff options
-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; } |