minor #25441 fixed #25440 (ptomulik)

This PR was merged into the 3.3 branch.

Discussion
----------

fixed #25440

| Q             | A
| ------------- | ---
| Branch?       | master for features / 2.7 up to 4.0 for bug fixes <!-- see below -->
| Bug fix?      | yes
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | yes/no
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md files -->
| Tests pass?   | yes/no
| Fixed tickets | #... <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!--highly recommended for new features-->

Fixes #25440

Commits
-------

089981e40f fixed #25440
This commit is contained in:
Fabien Potencier 2017-12-11 12:09:08 -08:00
commit e7ccd229cb

View File

@ -73,7 +73,7 @@ class Query extends AbstractQuery
$func = 'ldap_search';
break;
default:
throw new LdapException(sprintf('Could not search in scope %s', $this->options['scopen']));
throw new LdapException(sprintf('Could not search in scope "%s"', $this->options['scope']));
}
$this->search = @$func(