ZF-9628: Zend_Locale-Introduction mentions a non-existing variable - HTTP_ACCEPT_LANGUAGE
Description
Zend_Locale-Introduction (http://framework.zend.com/manual/en/…) mentions (section "Usage of automatic Locales") the variable HTTP_ACCEPT_LANGUAGE which in fact, does not exist at all. There is a key of this name in the superglobal $_SERVER variable.
In the file Zend_Locale-Introduction.xml: line 294 reads: HTTP_ACCEPT_LANGUAGE. it should be: $_SERVER['HTTP_ACCEPT_LANGUAGE'].
Comments
Posted by Thomas Weidner (thomas) on 2010-04-07T13:36:59.000+0000
Fixed with r21791
Posted by Tomek Szmytka (tomeks) on 2010-04-08T00:01:30.000+0000
Thomas Weidner has found (and fixed) the same error on line 242 (which I overlooked in the original issue description) but the one on line 294 is still there.
Posted by Thomas Weidner (thomas) on 2010-04-10T11:21:25.000+0000
Fixed with r21816