X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Felements%2Fsvc_edit_link.html;h=5438ed2668898bea2e7a3b0eb92539f83d847426;hb=cd413027713c39ff57b4d0fc5b79a91d6e2931df;hp=f525f1f5dfb11507cddd619f552db93b69add788;hpb=5dce18294d8c98e87d60b03708f6c1b642a32e5b;p=freeside.git diff --git a/httemplate/view/elements/svc_edit_link.html b/httemplate/view/elements/svc_edit_link.html index f525f1f5d..5438ed266 100644 --- a/httemplate/view/elements/svc_edit_link.html +++ b/httemplate/view/elements/svc_edit_link.html @@ -18,8 +18,8 @@ function areyousure_delete() { my %opt = @_; my $svc_x = $opt{'svc'} or die "'svc' required"; my $svcdb = $opt{'table'} || $svc_x->table; -my $edit_url = $opt{'edit_url'} || - $p . 'edit/' . $svcdb . '.cgi?' . $svc_x->svcnum; +my $edit_url = ($opt{'edit_url'} || + $p . 'edit/' . $svcdb . '.cgi?' ). $svc_x->svcnum; my $cancel_url = $p . 'misc/unprovision.cgi?' . $svc_x->svcnum; my $cust_svc = $svc_x->cust_svc; # always exists my $cancel_date = $cust_svc->pkg_cancel_date;