]> granicus.if.org Git - php/commitdiff
* Silence warning
authorMartin Jansen <mj@php.net>
Wed, 26 Mar 2003 22:43:42 +0000 (22:43 +0000)
committerMartin Jansen <mj@php.net>
Wed, 26 Mar 2003 22:43:42 +0000 (22:43 +0000)
pear/PEAR/Common.php

index 466b081eadaf868e58ed782ab9860f6e393258f1..af47e81fd5589a40bd51228ebc9e59b625c3b657 100644 (file)
@@ -1121,7 +1121,7 @@ class PEAR_Common extends PEAR
         }
         $pn = $info['package'];
         $pnl = strlen($pn);
-        foreach ($this->pkginfo['provides'] as $key => $what) {
+        foreach ((array)$this->pkginfo['provides'] as $key => $what) {
             if (isset($what['explicit'])) {
                 // skip conformance checks if the provides entry is
                 // specified in the package.xml file