symfony/symfony — Issue #3053: Notice with getPreferredLanguage(array())
Author: marmotz
Created: 2012-01-07 13:07:30+00:00
State: open

If $locales parameter is an empty array:

Notice: Undefined offset: 0 in /path/to/project/vendor/symfony/src/Symfony/Component/HttpFoundation/Request.php line 944
500 Internal Server Error - ErrorException