From ad07d32fc7385c64764adc7735b57d9b4f47d6d2 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Fri, 9 May 2003 12:17:07 +0000 Subject: [PATCH] MFH --- pear/PEAR/Registry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pear/PEAR/Registry.php b/pear/PEAR/Registry.php index 5f304ab23d..68a33b36e7 100644 --- a/pear/PEAR/Registry.php +++ b/pear/PEAR/Registry.php @@ -485,7 +485,7 @@ class PEAR_Registry extends PEAR } $pkgs = array(); foreach ($path as $name => $attrs) { - if (isset($attrs['baseinstalldir'])) { + if (is_array($attrs) && isset($attrs['baseinstalldir'])) { $name = $attrs['baseinstalldir'].DIRECTORY_SEPARATOR.$name; } $pkgs[$name] = $this->checkFileMap($name); -- 2.40.0