From 934da938ec5ed73fca403b92559a7609a7a25f20 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 5 Sep 2025 08:54:07 +0200 Subject: [PATCH] #451 PHPStan level 5 --- lam/lib/import.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }