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

------------------------------------------------------------------------

Search Discussions

  • Ken at May 2, 2011 at 7:30 pm
    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: Assigned
    +Status: Bogus
    Type: Bug
    Package: Date_Holidays
    Operating System: MacOSX
    Package Version: 0.21.4
    PHP Version: 5.3.5
    Assigned To: kguest
    Roadmap Versions:
    New Comment:

    -Status: Assigned
    +Status: Bogus
    Sorry, but your problem does not imply a bug in PEAR itself. For a
    list of more appropriate places to ask for help using PEAR, please
    visit http://pear.php.net/support/ as this bug system is not the
    appropriate forum for asking support questions.

    Thank you for your interest in PEAR.

    The return value from the setYear method is documented to return
    "boolean true on success, otherwise a PEAR_ErrorStack object" - which is
    true to form - and everything works fine.
    Thanks for caring!


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-05-02 20:30:20] kguest

    -Assigned To:
    +Assigned To: kguest


    ------------------------------------------------------------------------

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

    ------------------------------------------------------------------------
  • Bretrzaun at May 3, 2011 at 7:02 am
    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: Bogus
    Type: Bug
    Package: Date_Holidays
    Operating System: MacOSX
    Package Version: 0.21.4
    PHP Version: 5.3.5
    Assigned To: kguest
    Roadmap Versions:
    New Comment:

    I wouldn't call this bogus since you fixed this bug in
    https://pear.php.net/bugs/bug.php?id=16595
    just recently. It's more a duplicate.

    But thanks anyway...


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-05-02 20:31:15] kguest

    -Status: Assigned
    +Status: Bogus
    Sorry, but your problem does not imply a bug in PEAR itself. For a
    list of more appropriate places to ask for help using PEAR, please
    visit http://pear.php.net/support/ as this bug system is not the
    appropriate forum for asking support questions.

    Thank you for your interest in PEAR.

    The return value from the setYear method is documented to return
    "boolean true on success, otherwise a PEAR_ErrorStack object" - which is
    true to form - and everything works fine.
    Thanks for caring!

    ------------------------------------------------------------------------

    [2011-05-02 20:30:20] kguest

    -Assigned To:
    +Assigned To: kguest


    ------------------------------------------------------------------------

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

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedMay 2, '11 at 7:29p
activeMay 3, '11 at 7:02a
posts3
users2
websitepear.php.net

2 users in discussion

Ken: 2 posts Bretrzaun: 1 post

People

Translate

site design / logo © 2023 Grokbase