From ad85444a875e17a1b63474de75ad53c47cfc698c Mon Sep 17 00:00:00 2001 From: Martin Jansen Date: Wed, 26 Mar 2003 22:43:42 +0000 Subject: [PATCH] * Silence warning --- pear/PEAR/Common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pear/PEAR/Common.php b/pear/PEAR/Common.php index 466b081ead..af47e81fd5 100644 --- a/pear/PEAR/Common.php +++ b/pear/PEAR/Common.php @@ -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 -- 2.40.0