source: link back to resulting page
[sheet.git] / common.inc.plp
index 6672bd5010f66ba09b84c809729cf0b3c1e28606..5f7cb25f394046b8963f5b9b85d6292ba0f0f55a 100644 (file)
@@ -180,6 +180,7 @@ EOT
 sub showlink {
        my ($title, $href, $selected) = @_;
        return sprintf(
+               !$href ? '%s' :
                $selected ? '<strong>%s</strong>' : '<a href="%2$s">%s</a>',
                EscapeHTML($title), EscapeHTML($href)
        );