From a025e4f5a5f5fe3636a80403914617520c08f62e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 27 Aug 2014 12:16:16 +0000 Subject: [PATCH] PEAR check: show version again, if available, instead of just "Yes" --- setup/check_install.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/check_install.php b/setup/check_install.php index ad5af32b02..5c2d572345 100644 --- a/setup/check_install.php +++ b/setup/check_install.php @@ -413,7 +413,8 @@ function pear_check($package,$args) $available = $found && (!$min_version || version_compare($min_version,$version_available) <= 0); echo '
'.($available ? $passed_icon : $warning_icon).' '. lang('Checking PEAR%1 is installed',($package?($channel?' '.$channel.'/':'::').$package:'').($min_version?" ($min_version)":'')).': '. - ($available ? lang('True') : ($found ? lang('Found, but unknown version') : lang('False')))."
\n"; + ($available ? ($version_available ? $version_available : lang('True')) : + ($found ? lang('Found, but unknown version') : lang('False')))."\n"; if (!$available) // give further info only if not availible {