diff --git a/lam/lib/import.inc b/lam/lib/import.inc index 246e3becf..6e280fcbb 100644 --- a/lam/lib/import.inc +++ b/lam/lib/import.inc @@ -496,7 +496,7 @@ class RenameEntryTask implements ImporterTask { */ public function run() { $ldap = $_SESSION['ldap']->server(); - $success = @ldap_rename($ldap, $this->dn, $this->newRdn, null, $this->deleteOldRdn); + $success = @ldap_rename($ldap, $this->dn, $this->newRdn, '', $this->deleteOldRdn); if ($success) { return Importer::formatMessage('INFO', _('Rename successful!'), htmlspecialchars($this->dn)); }