mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 07:35:29 +02:00
Merge branch 'ticket/bantu/8792' into develop-olympus
* ticket/bantu/8792: [ticket/8792] Add LDAP_SEARCH_FAILED string for when ldap_search() fails.
This commit is contained in:
commit
b7afeadd6d
@ -74,7 +74,7 @@ function init_ldap()
|
||||
|
||||
if ($search === false)
|
||||
{
|
||||
return $user->lang['LDAP_NO_SERVER_CONNECTION'];
|
||||
return $user->lang['LDAP_SEARCH_FAILED'];
|
||||
}
|
||||
|
||||
$result = @ldap_get_entries($ldap, $search);
|
||||
|
@ -295,6 +295,7 @@ $lang = array_merge($lang, array(
|
||||
'LAST_VISIT' => 'Last visit',
|
||||
'LDAP_NO_LDAP_EXTENSION' => 'LDAP extension not available.',
|
||||
'LDAP_NO_SERVER_CONNECTION' => 'Could not connect to LDAP server.',
|
||||
'LDAP_SEARCH_FAILED' => 'An error occured while searching the LDAP directory.',
|
||||
'LEGEND' => 'Legend',
|
||||
'LOCATION' => 'Location',
|
||||
'LOCK_POST' => 'Lock post',
|
||||
|
Loading…
x
Reference in New Issue
Block a user