Skip to content

Commit 2294408

Browse files
committed
Tweak the code to avoid fabbot false positives
1 parent b53f045 commit 2294408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adapter/ExtLdap/EntryManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public function applyOperations(string $dn, iterable $operations): void
152152
}
153153

154154
if (!@ldap_modify_batch($this->getConnectionResource(), $dn, $operationsMapped)) {
155-
throw new UpdateOperationException(sprintf('Error executing UpdateOperation on "%s": "%s".', $dn, ldap_error($this->getConnectionResource())));
155+
throw new UpdateOperationException(sprintf('Error executing UpdateOperation on "%s": '.ldap_error($this->getConnectionResource()), $dn));
156156
}
157157
}
158158

0 commit comments

Comments
 (0)