Aleksander Machniak
2014-02-13 5e8da2b5c9d69872d17c857e239b1e30e9c23976
program/lib/PEAR.php
@@ -263,9 +263,9 @@
     * @access  public
     * @return  bool    true if parameter is an error
     */
    function isError($data, $code = null)
    static function isError($data, $code = null)
    {
        if (!is_a($data, 'PEAR_Error')) {
        if (!is_object($data) || !is_a($data, 'PEAR_Error')) {
            return false;
        }