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

Bug #4478 Notice error on File.php (generator)
Submitted: 2005-05-30 13:53 UTC
From: farell Assigned: cellog
Status: Closed Package: PEAR_PackageFileManager
PHP Version: 4.3.11 OS: Irrevelant
Roadmaps: (Not assigned)    
Subscription  


 [2005-05-30 13:53 UTC] farell
Description: ------------ About PEAR_PackageFileManager 1.5.2 (and also 1.6.0a1) probably it's a typo error since the beginning. property is defined as var $_ignore and inside code the property used is $this->ignore See: http://cvs.php.net/co.php/pear/PEAR_PackageFileManager/PackageFileManager/File.php?r=1.22#166 and also http://cvs.php.net/co.php/pear/PEAR_PackageFileManager/PackageFileManager/File.php?r=1.22#172 Take care that there are many $this->ignore references used inside the code Take care that a bit of code made confusion without the { } for else case at line 308 http://cvs.php.net/co.php/pear/PEAR_PackageFileManager/PackageFileManager/File.php?r=1.22#308 regards Laurent Expected result: ---------------- Notice error fixed to avoid unwanted browser output when error_reporting is set to E_ALL (dev mod). Actual result: -------------- Notice: Undefined property: ignore in [...]PEAR\PackageFileManager\File.php on line 166 Notice: Undefined property: ignore in [...]PEAR\PackageFileManager\File.php on line 172

Comments

 [2005-07-21 04:06 UTC] cellog
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 pear.php.net. In case this was a pear.php.net 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.