Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.11.4

Bug #2541 [PATCH] warning with E_ALL
Submitted: 2004-10-15 20:15 UTC
From: ieure at php dot net Assigned: mike
Status: Closed Package: I18Nv2
PHP Version: 4.2.0 OS: Linux
Roadmaps: (Not assigned)    

 [2004-10-15 20:15 UTC] ieure at php dot net
Description: ------------ When using I18Nv2 on older (4.1.x) versions of PHP, a warning is displayed: 'Undefined property: language in /usr/local/var/www/dev/ mmonList.php on line 94' Early versions of PHP treat unset class variables as nonexistent instead of empty. This patch adds an isset() check before accessing the property. An alternate fix is to explicitly set the variable to '' when it's defined. I know that I should upgrade to a newer PHP version, but that's not currently an option for me. Please consider applying this patch.


 [2004-10-18 08:32 UTC] mike
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on In case this was a website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. Ouch, thanks a lot!