mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/16007] Correct check_ban_test to boolean
PHPBB3-16007
This commit is contained in:
parent
fc62538733
commit
562601fd9b
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue