Commit 6234bc4f authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

On ignore une notice gênante avec PHP7.4 qui vient du ZF...

parent c18e4331
......@@ -116,7 +116,7 @@ abstract class AbstractMapper
if (!$attributes) {
$attributes = $this->getAttributes() ?: ['*'];
}
$entries = $this->getLdap()->searchEntries($filter, $baseDn, $scope, $attributes, $sort);
$entries = @$this->getLdap()->searchEntries($filter, $baseDn, $scope, $attributes, $sort);
if (count($entries) > 1) {
throw new RuntimeException("Plus d'une entrée trouvée avec ce filtre: " . $filter);
}
......
Supports Markdown
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