Edit report at http://pear.php.net/bugs/bug.php?id=16595&edit=1
ID: 16595
Updated by: [email protected]
Reported By: sebi at gohres dot de
Summary: Inkompatibility to current version of PHP
-Status: Verified
+Status: Closed
Type: Bug
Package: Date_Holidays
Operating System: Windows XP SP2
Package Version: 0.21.4
PHP Version: 5.3.0
Assigned To: kguest
Roadmap Versions:
New Comment:
-Status: Verified
+Status: Closed
This bug has been fixed in SVN.
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.
Previous Comments:
------------------------------------------------------------------------
[2009-09-18 11:00:48] kguest
-Assigned To:
+Assigned To: kguest
------------------------------------------------------------------------
[2009-09-14 04:55:28] doconnor
-Status: Open
+Status: Verified
------------------------------------------------------------------------
[2009-09-14 04:55:14] doconnor
if (!is_object($data)) {
return false;
}
is a better solution.
------------------------------------------------------------------------
[2009-09-11 14:34:19] sebi82
Description:
------------
In Holidays.php line 365 you should replace
$errorClass = get_class($data);
by
$errorClass = get_class((Object)$data);
in order to solve error messages like
warning: get_class() expects parameter 1 to be object, xxx given [...]
------------------------------------------------------------------------