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

From: Date: Fri, 30 Apr 2004 02:05:45 +0000
Subject: cvs: php-src /pear/PEAR Common.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-19006@lists.php.net to get a copy of this message
cellog Thu Apr 29 22:05:45 2004 EDT Modified files: /php-src/pear/PEAR Common.php Log: fix 1186: notice in PEAR_Common undeclared $_packageName http://cvs.php.net/diff.php/php-src/pear/PEAR/Common.php?r1=1.121&r2=1.122&ty=u Index: php-src/pear/PEAR/Common.php diff -u php-src/pear/PEAR/Common.php:1.121 php-src/pear/PEAR/Common.php:1.122 --- php-src/pear/PEAR/Common.php:1.121 Fri Mar 12 13:22:48 2004 +++ php-src/pear/PEAR/Common.php Thu Apr 29 22:05:45 2004 @@ -17,7 +17,7 @@ // | Tomas V.V.Cox <cox@idecnet.com> | // +----------------------------------------------------------------------+ // -// $Id: Common.php,v 1.121 2004/03/12 18:22:48 pajoye Exp $ +// $Id: Common.php,v 1.122 2004/04/30 02:05:45 cellog Exp $ require_once 'PEAR.php'; require_once 'Archive/Tar.php'; @@ -1235,7 +1235,10 @@ function buildProvidesArray($srcinfo) { $file = basename($srcinfo['source_file']); - $pn = $this->_packageName; + $pn = ''; + if (isset($this->_packageName)) { + $pn = $this->_packageName; + } $pnl = strlen($pn); foreach ($srcinfo['declared_classes'] as $class) { $key = "class;$class";

« previous php.pear.cvs (#19006) next »