From 61a5fd59cf020e552fae7f28b354726edf4b6b7d Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 29 May 2014 14:08:10 +0200 Subject: [ticket/12352] Add missing $ to md5_mybb and md5_vb driver PHPBB3-12352 --- phpBB/phpbb/passwords/driver/md5_mybb.php | 2 +- phpBB/phpbb/passwords/driver/md5_vb.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/phpbb/passwords') 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; } -- cgit v1.2.1