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

Bug #16535 Mistyped variable name in usergeneratordir code
Submitted: 2009-08-18 14:44 UTC
From: wilbuick Assigned: cweiske
Status: Closed Package: PEAR_PackageFileManager2 (version 1.0.0)
PHP Version: 5.2.5 OS: Debian
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 39 + 17 = ?

 
 [2009-08-18 14:44 UTC] wilbuick (William Buick)
Description: ------------ Line 593 in PEAR/PackageFileManager2.php code include_once $usergenerator; should be include_once $generator; $generator = $this->_options['usergeneratordir'] . $this->_options['filelistgenerator'] . '.php'; if (file_exists($generator) && is_readable($generator)) { include_once $usergenerator; }

Comments

 [2009-08-18 20:13 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Feedback
> if (file_exists($generator) && is_readable($generator)) { > include_once $usergenerator; > } Shouldn't that be "include_once $generator;"?
 [2009-08-18 20:14 UTC] cweiske (Christian Weiske)
-Status: Feedback +Status: Verified
Ah, you referred to a certain piece of code. ok
 [2009-08-18 20:17 UTC] cweiske (Christian Weiske)
The following patch has been added/updated: Patch Name: bug16535 Revision: 1250608628 URL: http://pear.php.net/bugs/patch-display.php?bug=16535&patch=bug16535&revision=1250608628&display=1
 [2010-02-04 04:06 UTC] cweiske (Christian Weiske)
The patch has already been committed to svn, with a wrong log entry: r287668 - prepare directory structure for services_twitter
 [2010-02-04 04:20 UTC] cweiske (Christian Weiske)
-Status: Verified +Status: Closed -Assigned To: +Assigned To: cweiske
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/ Fixed in version 1.0.1 of PEAR_PackageFileManager2.