]> granicus.if.org Git - php/commitdiff
* initialize pkginfo with an empty provides array
authorStig Bakken <ssb@php.net>
Thu, 3 Apr 2003 23:04:52 +0000 (23:04 +0000)
committerStig Bakken <ssb@php.net>
Thu, 3 Apr 2003 23:04:52 +0000 (23:04 +0000)
pear/PEAR/Common.php

index af47e81fd5589a40bd51228ebc9e59b625c3b657..94898fae6db019358fb546675cbcde7dfff2036b 100644 (file)
@@ -751,7 +751,7 @@ class PEAR_Common extends PEAR
         xml_parser_set_option($xp, XML_OPTION_CASE_FOLDING, false);
 
         $this->element_stack = array();
-        $this->pkginfo = array();
+        $this->pkginfo = array('provides' => array());
         $this->current_element = false;
         unset($this->dir_install);
         $this->pkginfo['filelist'] = array();