erreur sur ldapadd organisation

This commit is contained in:
Arnaud Fornerot 2022-08-22 13:13:10 +02:00
parent 4922fb1c89
commit 7fdf41aac8

View File

@ -210,7 +210,7 @@ class LdapService
public function addOrganisations() {
$ldapentrys=$this->searchdn($this->baseorganisation);
if(empty($ldapentrys)) {
$this->addOrganisation($this->basedn);
$this->addOrganisation($this->baseorganisation);
}
$ldapentrys=$this->searchdn($this->baseniveau01,$this->baseorganisation);