summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorivan <ivan>2007-04-19 20:18:08 +0000
committerivan <ivan>2007-04-19 20:18:08 +0000
commit40f7d64fc5359802ea215b0a551f5239018ab381 (patch)
tree7f1fa2ce39ae033dcec5a3734cf7999a20268b0d /httemplate/view
parentada4765272274926102654a0baee16bcd7379de7 (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')
-rwxr-xr-xhttemplate/view/cust_main/packages.html14
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 {