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

Bug #13571 not enough error checks
Submitted: 2008-04-03 10:28 UTC
From: cweiske Assigned: kguest
Status: Closed Package: PEAR_Size (version 0.1.1)
PHP Version: 5.2.5 OS:
Roadmaps: 0.1.2    
Subscription  


 [2008-04-03 10:28 UTC] cweiske (Christian Weiske)
Description: ------------ <?php $size = new PEAR_Size(); $size->parseCLIOptions(array($options)); $size->generateReport(); ?> leads to "Fatal error". parseCLIOptions() expects $options[0] - which is not obvious, I simply passed an array of options I got from pear -> warning

Comments

 [2008-04-03 22:40 UTC] kguest (Ken Guest)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.