Skip to content

Commit d708cbb

Browse files
adg-wanduchriskacerguis
authored andcommitted
Repair undefined variable.
1 parent b471a60 commit d708cbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RestController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1536,7 +1536,7 @@ protected function _perform_ldap_auth($username = '', $password = null)
15361536
'basedn' => $this->config->item('basedn', 'ldap'),
15371537
];
15381538

1539-
log_message('debug', 'LDAP Auth: Connect to '.(isset($ldaphost) ? $ldaphost : '[ldap not configured]'));
1539+
log_message('debug', 'LDAP Auth: Connect to '.(isset($ldap['host']) ? $ldap['host'] : '[ldap not configured]'));
15401540

15411541
// Connect to the ldap server
15421542
$ldapconn = ldap_connect($ldap['host'], $ldap['port']);

0 commit comments

Comments
 (0)