From cd413027713c39ff57b4d0fc5b79a91d6e2931df Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 10 Oct 2013 08:43:38 -0700 Subject: [PATCH] backport from 3/master to fix svc_cable editing, RT#22009 --- httemplate/view/elements/svc_edit_link.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.11.0