cvs: php-src /pear/PEAR Command.php

From: Date: Fri, 27 Feb 2004 02:24:06 +0000
Subject: cvs: php-src /pear/PEAR Command.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-128@lists.php.net to get a copy of this message
cellog Thu Feb 26 21:24:06 2004 EDT Modified files: /php-src/pear/PEAR Command.php Log: get_class -> is_a http://cvs.php.net/diff.php/php-src/pear/PEAR/Command.php?r1=1.22&r2=1.23&ty=u Index: php-src/pear/PEAR/Command.php diff -u php-src/pear/PEAR/Command.php:1.22 php-src/pear/PEAR/Command.php:1.23 --- php-src/pear/PEAR/Command.php:1.22 Thu Jan 8 12:33:12 2004 +++ php-src/pear/PEAR/Command.php Thu Feb 26 21:24:06 2004 @@ -16,7 +16,7 @@ // | Author: Stig Bakken <ssb@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Command.php,v 1.22 2004/01/08 17:33:12 sniper Exp $ +// $Id: Command.php,v 1.23 2004/02/27 02:24:06 cellog Exp $ require_once "PEAR.php"; @@ -160,7 +160,7 @@ function &setFrontendClass($uiclass) { if (is_object($GLOBALS['_PEAR_Command_uiobject']) && - strtolower($uiclass) == get_class($GLOBALS['_PEAR_Command_uiobject'])) { + is_a($GLOBALS['_PEAR_Command_uiobject'], $uiclass)) { return $GLOBALS['_PEAR_Command_uiobject']; } if (!class_exists($uiclass)) {

« previous php.pear.core (#128) next »