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

Fixes #3433 user::$nouid does not exists anymore

parent ddab413f
......@@ -212,9 +212,7 @@ class csvimport extends plugin
/* Else use template uid if defined */
$ldap->cat($this->csvinfo['arrtempls'][$this->csvinfo['tplid']]['dn']);
if ($attrs = $ldap->fetch()) {
if ($attrs['uid'][0] != user::$nouid) {
$uids = gen_uids($attrs['uid'][0], $attributes);
}
$uids = gen_uids($attrs['uid'][0], $attributes);
}
}
......
Markdown is supported
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