summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-10-10 08:43:38 -0700
committerIvan Kohler <ivan@freeside.biz>2013-10-10 08:43:38 -0700
commitcd413027713c39ff57b4d0fc5b79a91d6e2931df (patch)
tree36cf1fe8127df88b95cbad73687c4d0fd308a928
parent5dce18294d8c98e87d60b03708f6c1b642a32e5b (diff)
backport from 3/master to fix svc_cable editing, RT#22009
-rw-r--r--httemplate/view/elements/svc_edit_link.html4
1 files 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;