From: Michael M Slusarz Date: Wed, 5 Jan 2011 08:48:27 +0000 (-0700) Subject: Don't show empty descriptions X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=affc4e2920080a2ea1b203b8cd9b4cbe570e14fb;p=horde.git Don't show empty descriptions --- 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) {