From 3c2fe33a23e391988e9a5d4674074c0eddf301e8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 25 Jun 2007 10:01:39 +0000 Subject: [PATCH] fix for old pear installs without registry: packages from egw-pear get not reported if checked first --- setup/check_install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/check_install.php b/setup/check_install.php index 24d7433021..4a791559ea 100644 --- a/setup/check_install.php +++ b/setup/check_install.php @@ -327,7 +327,7 @@ } } // is the right version availible - $available = $pear_available && (!$package || $available) && (!$min_version || version_compare($min_version,$version_available) <= 0); + $available = (@$available || $pear_available && !$package) && (!$min_version || version_compare($min_version,$version_available) <= 0); echo '
'.($available ? $passed_icon : $warning_icon).' '. lang('Checking PEAR%1 is installed',($package?'::'.$package:'').($min_version?" ($min_version)":'')).': '. ($available ? ($version_available ? $version_available : lang('True')) : lang('False'))."
\n";