mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/16007] Correct check_ban_test to boolean
PHPBB3-16007
This commit is contained in:
@@ -72,7 +72,8 @@ class phpbb_session_check_ban_test extends phpbb_session_test_case
|
||||
{
|
||||
try
|
||||
{
|
||||
$is_banned = $this->session->check_ban($user_id, $user_ips, $user_email, $return);
|
||||
$ban = $this->session->check_ban($user_id, $user_ips, $user_email, $return);
|
||||
$is_banned = !empty($ban);
|
||||
}
|
||||
catch (PHPUnit_Framework_Error_Notice $e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user