From 668066581971a221b4915a3234ac37964ae43291 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 24 Oct 2008 23:21:29 +0000 Subject: [PATCH] correct links to non-US CDRs from svc_phone view --- httemplate/view/svc_phone.cgi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/httemplate/view/svc_phone.cgi b/httemplate/view/svc_phone.cgi index 8c0c9e02e..f604daa47 100644 --- a/httemplate/view/svc_phone.cgi +++ b/httemplate/view/svc_phone.cgi @@ -31,6 +31,8 @@ my $html_foot = sub { #XXX handle toll free too my $number = $svc_phone->phonenum; + $number = $svc_phone->countrycode. $number + unless $svc_phone->countrycode eq '1'; #my @links = map { # qq(). -- 2.11.0