From 8dcf225f63881ed95bb861025d2cd83110da7389 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sat, 24 Oct 2015 18:50:44 +0200 Subject: 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 --- web/lib/pkgfuncs.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') 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 = ''; } /* -- cgit v1.2.3-70-g09d2