Issues

ZF-9628: Zend_Locale-Introduction mentions a non-existing variable - HTTP_ACCEPT_LANGUAGE

Issue Type: Docs: Problem Created: 2010-04-07T00:30:29.000+0000 Last Updated: 2010-04-10T11:21:25.000+0000 Status: Resolved Fix version(s): - 1.10.4 (28/Apr/10)

Reporter: Tomek Szmytka (tomeks) Assignee: Thomas Weidner (thomas) Tags: - Zend_Locale

Related issues: Attachments:

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

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts