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

Bug #5715 Typo in Date/Span.php: $GLOBAL['foo'] instead of $GLOBALS['foo']
Submitted: 2005-10-18 15:34 UTC
From: luckec Assigned: dufuz
Status: Closed Package: Date
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2005-10-18 15:34 UTC] luckec
Description: ------------ Typo in line 70 of Date/Span.php, $GLOBAL['_DATE_SPAN_INPUT_FORMAT'] = DATE_SPAN_INPUT_FORMAT_NNSV; Test script: --------------- Should be: $GLOBALS['_DATE_SPAN_INPUT_FORMAT'] = DATE_SPAN_INPUT_FORMAT_NNSV; Actual result: -------------- Throws notices, creation of Date_Span object without specifying format parameter fails.

Comments

 [2005-10-24 10:39 UTC] dufuz
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.