Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
app
Commits
6234bc4f
Commit
6234bc4f
authored
Dec 05, 2019
by
Laurent Lécluse
Browse files
On ignore une notice gênante avec PHP7.4 qui vient du ZF...
parent
c18e4331
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/UnicaenApp/Mapper/Ldap/AbstractMapper.php
View file @
6234bc4f
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment