Aleksander Machniak
2012-07-30 bc92ca56ef6c51393d2782b7654eaa162dfc2e10
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;
        }