diff --git a/PEAR.php b/PEAR.php index 6dba3b010..432228bdb 100644 --- a/PEAR.php +++ b/PEAR.php @@ -219,7 +219,7 @@ public function __call($method, $arguments) ); } return call_user_func_array( - array(get_class(), '_' . $method), + array(__CLASS__, '_' . $method), array_merge(array($this), $arguments) ); } @@ -232,7 +232,7 @@ public static function __callStatic($method, $arguments) ); } return call_user_func_array( - array(get_class(), '_' . $method), + array(__CLASS__, '_' . $method), array_merge(array(null), $arguments) ); }