diff options
Diffstat (limited to 'html/functions.php3')
-rw-r--r-- | html/functions.php3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/functions.php3 b/html/functions.php3 index 2e46c521..78cf32ca 100644 --- a/html/functions.php3 +++ b/html/functions.php3 @@ -161,8 +161,8 @@ function fileshow($filename,$text="",$title="") { if ( $text == "") { $text=$filename; }; $message=$title; if ( $message == "") { $message=$filename; }; - hlink("fileshow.phtml?file=" . urlencode($filename) - . "&title=" . urlencode($title), + $titlecode = ($title == "" ? "" : "&title=" . urlencode($title)); + hlink("fileshow.phtml?file=" . urlencode($filename) . $titlecode, $text, $message); } |