X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/fe788510cd59130603b2efc19b0c662b3de57054..737dd2857235970b598a49dc1d987c73c8a38a08:/common.inc.plp
diff --git a/common.inc.plp b/common.inc.plp
index 6672bd5..5f7cb25 100644
--- a/common.inc.plp
+++ b/common.inc.plp
@@ -180,6 +180,7 @@ EOT
sub showlink {
my ($title, $href, $selected) = @_;
return sprintf(
+ !$href ? '%s' :
$selected ? '%s' : '%s',
EscapeHTML($title), EscapeHTML($href)
);