Edit report at http://pear.php.net/bugs/bug.php?id=18449&edit=1
ID: 18449
Updated by: [email protected]
Reported By: bretrzaun at hotmail dot com
Summary: Date_Holidays::isError() strange check
Status: Open
Type: Bug
Package: Date_Holidays
Operating System: MacOSX
Package Version: 0.21.4
PHP Version: 5.3.5
-Assigned To:
+Assigned To: kguest
Roadmap Versions:
New Comment:
-Assigned To:
+Assigned To: kguest
Previous Comments:
------------------------------------------------------------------------
[2011-04-15 16:08:51] bretrzaun
Description:
------------
get_class() expects parameter 1 to be object, boolean given
/usr/local/zend/share/pear/Date/Holidays.php:365
/usr/local/zend/share/pear/Date/Holidays.php:150
The isError() method is always called with the return value
from the drivers setYear() method which is documented to be
a boolean.
------------------------------------------------------------------------