From 66a1f83afbb791376748cdd922583ca485588314 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 4 Sep 2006 20:12:28 +0000 Subject: [PATCH] fix the embedded duration table --- httemplate/search/sqlradius.cgi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/httemplate/search/sqlradius.cgi b/httemplate/search/sqlradius.cgi index 32e97b675..95f4147af 100644 --- a/httemplate/search/sqlradius.cgi +++ b/httemplate/search/sqlradius.cgi @@ -222,12 +222,12 @@ my $duration_format = sub { my $hour = int($seconds/3600); my $min = int( ($seconds%3600) / 60 ); my $sec = $seconds%60; - ''. - '
'. + ''. + '
'. ( $hour ? "$hourh" : ' ' ). - ''. + ''. ( ( $hour || $min ) ? "$minm" : ' ' ). - ''. + ''. "$secs". '
'; }; -- 2.11.0