From: Tomas V.V.Cox Date: Sun, 31 Mar 2002 19:04:53 +0000 (+0000) Subject: E_ALL fix X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~942 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=460eb1103cfb68d563c7efbffe0cded19a74f346;p=php E_ALL fix --- diff --git a/pear/PEAR/Common.php b/pear/PEAR/Common.php index b3dfcfded5..118e998c88 100644 --- a/pear/PEAR/Common.php +++ b/pear/PEAR/Common.php @@ -168,13 +168,13 @@ class PEAR_Common extends PEAR /** * Create and register a temporary directory. - * + * * @param string (optional) Directory to use as tmpdir. Will use * system defaults (for example /tmp or c:\windows\temp) if not * specified * * @return string name of created directory - * + * * @access public */ function mkTempDir($tmpdir = '') @@ -247,7 +247,7 @@ class PEAR_Common extends PEAR function _element_end($xp, $name) { } - + // }}} // Support for package DTD v1.0: @@ -713,7 +713,7 @@ class PEAR_Common extends PEAR if (!empty($pkginfo['release_notes'])) { $ret .= "$indent $pkginfo[release_notes]\n"; } - if (sizeof($pkginfo['release_deps']) > 0) { + if (isset($pkginfo['release_deps']) && sizeof($pkginfo['release_deps']) > 0) { $ret .= "$indent \n"; foreach ($pkginfo['release_deps'] as $dep) { $ret .= "$indent