Commit bd5400e6 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3238 fixed departments dns

parent c059ca9a
......@@ -189,7 +189,7 @@ class department extends simplePlugin
$namingAttr = $this->getNamingAttr();
$nAV = preg_replace('/,/', '\,', $this->$namingAttr);
$nAV = preg_replace('/"/', '\"', $nAV);
return @LDAP::convert(self::$namingAttr.'='.$nAV.','.$this->base);
return @LDAP::convert($namingAttr.'='.$nAV.','.$this->base);
}
function prepare_save()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment