Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repair undefined variable. #1048

Merged
merged 1 commit into from
Nov 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Repair undefined variable.
  • Loading branch information
adg-wandu committed Nov 23, 2019
commit 2483a55489ffc2c8db5a3a3ac81e431ffeeb7937
2 changes: 1 addition & 1 deletion src/RestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1536,7 +1536,7 @@ protected function _perform_ldap_auth($username = '', $password = null)
'basedn' => $this->config->item('basedn', 'ldap'),
];

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

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