remove 2nd @ in error-message

This commit is contained in:
ralf 2022-11-17 20:37:19 +01:00
parent 57be82de46
commit f09ae2b6d1

View File

@ -1467,7 +1467,7 @@ class adLDAP extends \adLDAP
public function getLastError()
{
$url = $this->useTLS ? 'ldaps://' : 'ldap://';
if (!empty($this->adminUsername)) $url .= $this->adminUsername.'@'.$this->accountSuffix.'@';
if (!empty($this->adminUsername)) $url .= $this->adminUsername.$this->accountSuffix.'@';
$url .= implode(',', $this->domainControllers);
if (!empty($this->adPort)) $url .= ':'.$this->adPort;