From affc4e2920080a2ea1b203b8cd9b4cbe570e14fb Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 5 Jan 2011 01:48:27 -0700 Subject: [PATCH] Don't show empty descriptions --- horde/test.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/horde/test.php b/horde/test.php index c828ab1f5..689fd4e4d 100644 --- a/horde/test.php +++ b/horde/test.php @@ -145,7 +145,11 @@ if ($app == 'horde') { $app_list = array_diff($registry->listAllApps(), array($app)); sort($app_list); foreach ($app_list as $val) { - echo '
  • ' . ucfirst($val) . ' [' . $registry->get('name', $val) . ']: ' . $registry->getVersion($val) . + echo '
  • ' . ucfirst($val); + if ($name = $registry->get('name', $val)) { + echo ' [' . $name . ']'; + } + echo ': ' . $registry->getVersion($val) . ' (run tests)
  • \n"; } } catch (Exception $e) { -- 2.11.0