From: ivan Date: Mon, 4 Sep 2006 20:12:28 +0000 (+0000) Subject: fix the embedded duration table X-Git-Tag: TRIXBOX_2_6~979 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=66a1f83afbb791376748cdd922583ca485588314 fix the embedded duration table --- 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". '
'; };