* fix bug that was re-introduced during merge

This commit is contained in:
Stig Bakken 2002-06-02 23:59:41 +00:00
parent 9a97d55647
commit b8ec647fc5

View 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
}
}
?>
?>