Aleksander Machniak
2012-06-19 8a6fde02de3ba6742290eb303d7e3691d27e5d8b
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;
        }