diff options
author | ivan <ivan> | 2007-04-19 20:18:05 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-04-19 20:18:05 +0000 |
commit | db4034e2019cb6c7f455640b89e8d5fedeb28932 (patch) | |
tree | d2dd105c92897747296f836b17f7f1d010239b60 /httemplate/view/cust_main/packages.html | |
parent | 5c38d5114cc5b2e8711abfb20b4d2cfb83f944f6 (diff) |
fix very strange "Undefined subroutine &FS::UI::Web::rooturl" with an explicit import. did i mention this was really really weird?
Diffstat (limited to 'httemplate/view/cust_main/packages.html')
-rwxr-xr-x | httemplate/view/cust_main/packages.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html index c56904690..98acb8685 100755 --- a/httemplate/view/cust_main/packages.html +++ b/httemplate/view/cust_main/packages.html @@ -440,12 +440,12 @@ Current packages % ) { % $url = "${p}edit/process/". $part_svc->svcdb. ".cgi?$pkgnum_svcpart"; % } else { -% $url = FS::UI::Web::svc_url( -% 'm' => $m, -% 'action' => 'edit', -% 'part_svc' => $part_svc, -% 'query' => $pkgnum_svcpart, -% ); +% $url = svc_url( +% 'm' => $m, +% 'action' => 'edit', +% 'part_svc' => $part_svc, +% 'query' => $pkgnum_svcpart, +% ); % #$url = "${p}edit/$svcpart->{svcdb}.cgi?$pkgnum_svcpart"; % } % @@ -522,7 +522,7 @@ Current packages %sub pkg_link { % my($action, $label, $cust_pkg) = @_; % return '' unless $cust_pkg; -% qq!<a href="${p}$action.cgi?!. $cust_pkg->pkgnum. qq!">$label</a>!; +% qq!<a href="$p$action.cgi?!. $cust_pkg->pkgnum. qq!">$label</a>!; %} % %sub pkg_popup_link { |