Issue Type: Bug Created: 2012-03-04T20:24:23.000+0000 Last Updated: 2012-07-09T15:31:12.000+0000 Status: Resolved Fix version(s): Reporter: Robert Basic (robertbasic) Assignee: Robert Basic (robertbasic) Tags: - Zend\I18n
Related issues: Attachments:
While working on fixing tests for Zend\Feed, I noticed that Zend\Locale\Locale::getBrowser uses $_SERVER to detect the language/locale. Given that this part of code comes from unit tests, $_SERVER is not defined, thus we need a is_array($_SERVER) check before trying to use it.
Pull request is on it's way.
Posted by Robert Basic (robertbasic) on 2012-03-04T20:32:58.000+0000
Pull request sent: https://github.com/zendframework/zf2/pull/884
Have you found an issue?
See the Overview section for more details.