Home » Internationalization » I18N » Bug #1147
Undefined variable and properties, Negotiator
Details
| Submitted | 2004-04-06 12:21 UTC |
|---|---|
| From | emmanuel at drouet-web dot com |
| Assigned | mike |
| Status | Closed |
| Package | I18N |
| PHP Version | 5CVS-2004-04-06 (dev) |
| OS | Windows |
| Roadmaps | (Not assigned) |
Comments
[2004-04-06 12:21 UTC] emmanuel at drouet-web dot com
Description:
------------
When executing test I18N_negotiator.php, 3 notices returns :
- undefine property _country line 173
- undefine property _lang_variation line 190
- undefine variable charsets line 206
should be define :
var $_country
var $_lang_variation
Script error when defining param for getCharsetMatch function at line 204. missing 'r' character for 'charsets'
Reproduce code:
---------------
I18N_negotiator.php example in docs package
[2004-04-06 13:00 UTC] emmanuel at drouet-web dot com
bug corrected in I18nv2