mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 18:41:52 +02:00
[ticket/17176] Ensure slow tests are not run when not selected
PHPBB3-17176
This commit is contained in:
@@ -201,7 +201,7 @@ class ldap extends base
|
||||
1
|
||||
);
|
||||
|
||||
$ldap_result = @ldap_get_entries($ldap, $search);
|
||||
$ldap_result = $search !== false ? @ldap_get_entries($ldap, $search) : [];
|
||||
|
||||
if (is_array($ldap_result) && count($ldap_result) > 1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user