summaryrefslogtreecommitdiff
path: root/pear/PEAR/Autoloader.php
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2004-02-27 02:24:06 +0000
committerGreg Beaver <cellog@php.net>2004-02-27 02:24:06 +0000
commit3e56af98e0718bc3c524e56d4b84eebadd108f45 (patch)
treef97de81b222e6afa7a9ac1f6a0405e89a4a37e9e /pear/PEAR/Autoloader.php
parent44f0fce25503b316fa6eeaaa574a71854214d467 (diff)
downloadphp-git-3e56af98e0718bc3c524e56d4b84eebadd108f45.tar.gz
get_class -> is_a
Diffstat (limited to 'pear/PEAR/Autoloader.php')
-rw-r--r--pear/PEAR/Autoloader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/PEAR/Autoloader.php b/pear/PEAR/Autoloader.php
index 9b1a5c32ab..09e8736d84 100644
--- a/pear/PEAR/Autoloader.php
+++ b/pear/PEAR/Autoloader.php
@@ -162,7 +162,7 @@ class PEAR_Autoloader extends PEAR
$classname = strtolower($classname);
reset($this->_method_map);
while (list($method, $obj) = each($this->_method_map)) {
- if (get_class($obj) == $classname) {
+ if (is_a($obj, $classname)) {
unset($this->_method_map[$method]);
$ok = true;
}