Skip to content

Commit 0004575

Browse files
committed
Backport symfony#15453 fix
1 parent 966e1e0 commit 0004575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ldap.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ to the ``LDAP_SCOPE_BASE`` scope of :phpfunction:`ldap_read`) and ``SCOPE_ONE``
117117

118118
Use the ``filter`` option to only retrieve some specific attributes:
119119

120-
$query = $ldap->query('dc=symfony,dc=com', '...', ['filter' => ['cn, mail']);
120+
$query = $ldap->query('dc=symfony,dc=com', '...', ['filter' => ['cn', 'mail']);
121121

122122
Creating or Updating Entries
123123
----------------------------

0 commit comments

Comments
 (0)