Commit fe65f150 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4378 handling moving errors better

parent 049a81ef
......@@ -1137,7 +1137,7 @@ class plugin
$ldap->add($new);
if (!$ldap->success()) {
trigger_error('Trying to save '.$dst_dn.' failed: '.$ldap->error(), E_USER_WARNING);
trigger_error('Trying to save '.$dst_dn.' failed: '.$ldap->get_error(), E_USER_WARNING);
return FALSE;
}
return TRUE;
......
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