summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-10-24 18:50:44 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-10-24 18:50:44 +0200
commit8dcf225f63881ed95bb861025d2cd83110da7389 (patch)
tree0ae3e7c31a2bc67d3ddd5d0893c957fef84f3685 /web
parentb30135111a25efeb7758b12a60a1f1d1d4d1d5ed (diff)
Hide optdepend description if not available
Remove the "(unknown)" suffix that used to be shown for optional dependencies without a description. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web')
-rw-r--r--web/lib/pkgfuncs.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php
index dab4315..3108241 100644
--- a/web/lib/pkgfuncs.inc.php
+++ b/web/lib/pkgfuncs.inc.php
@@ -324,7 +324,7 @@ function pkg_depend_link($name, $type, $cond, $arch, $pkg_id) {
$name = $tokens[0];
$desc = $tokens[1];
} else {
- $desc = '(unknown)';
+ $desc = '';
}
/*