]> granicus.if.org Git - php/commitdiff
* fix bug that was re-introduced during merge
authorStig Bakken <ssb@php.net>
Sun, 2 Jun 2002 23:59:41 +0000 (23:59 +0000)
committerStig Bakken <ssb@php.net>
Sun, 2 Jun 2002 23:59:41 +0000 (23:59 +0000)
pear/PEAR/Command.php

index 8eea62468abaf9c4040be54fcd0a539726d0721a..fd717533fd0cd78a114b0f64b6ee56234762b12d 100644 (file)
@@ -146,8 +146,7 @@ class PEAR_Command
     function &setFrontendClass($uiclass)
     {
         if (is_object($GLOBALS['_PEAR_Command_uiobject']) &&
-            strtolower($GLOBALS['_PEAR_Command_uiclass']) ==
-            get_class($GLOBALS['_PEAR_Command_uiobject'])) {
+            strtolower($uiclass) == get_class($GLOBALS['_PEAR_Command_uiobject'])) {
             return;
         }
         $file = str_replace('_', '/', $uiclass) . '.php';
@@ -320,4 +319,4 @@ class PEAR_Command
     }
 }
 
-?>
\ No newline at end of file
+?>