cvs: php4 /pear/PEAR Common.php

From: Date: Sun, 31 Mar 2002 19:04:53 +0000
Subject: cvs: php4 /pear/PEAR Common.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-2928@lists.php.net to get a copy of this message
cox Sun Mar 31 14:04:53 2002 EDT Modified files: /php4/pear/PEAR Common.php Log: E_ALL fix Index: php4/pear/PEAR/Common.php diff -u php4/pear/PEAR/Common.php:1.39 php4/pear/PEAR/Common.php:1.40 --- php4/pear/PEAR/Common.php:1.39 Sat Mar 30 22:16:02 2002 +++ php4/pear/PEAR/Common.php Sun Mar 31 14:04:53 2002 @@ -17,7 +17,7 @@ // | Tomas V.V.Cox <cox@idecnet.com> | // +----------------------------------------------------------------------+ // -// $Id: Common.php,v 1.39 2002/03/31 03:16:02 ssb Exp $ +// $Id: Common.php,v 1.40 2002/03/31 19:04:53 cox Exp $ require_once 'PEAR.php'; require_once 'Archive/Tar.php'; @@ -168,13 +168,13 @@ /** * 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 @@ function _element_end($xp, $name) { } - + // }}} // Support for package DTD v1.0: @@ -713,7 +713,7 @@ if (!empty($pkginfo['release_notes'])) { $ret .= "$indent <notes>$pkginfo[release_notes]</notes>\n"; } - if (sizeof($pkginfo['release_deps']) > 0) { + if (isset($pkginfo['release_deps']) && sizeof($pkginfo['release_deps']) > 0) { $ret .= "$indent <deps>\n"; foreach ($pkginfo['release_deps'] as $dep) { $ret .= "$indent <dep type=\"$dep[type]\" rel=\"$dep[rel]\"";

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