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  
Comments Add Comment Add patch


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 : 40 - 8 = ?

 
 [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.