summaryrefslogtreecommitdiff
path: root/httemplate/misc/process
diff options
context:
space:
mode:
authorivan <ivan>2004-03-22 11:05:58 +0000
committerivan <ivan>2004-03-22 11:05:58 +0000
commite3f327b2af9e6a591bae41d315fda731ec7f5128 (patch)
tree049dfaf320c7c8461e7bc4294c685f40e0ad04ed /httemplate/misc/process
parent6db0053308daae19135066c5bf4d20e82f0a5780 (diff)
remove everything that links to package view also, closes: Bug#569
Diffstat (limited to 'httemplate/misc/process')
-rwxr-xr-xhttemplate/misc/process/link.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/misc/process/link.cgi b/httemplate/misc/process/link.cgi
index 5d80adeb9..8b71b893d 100755
--- a/httemplate/misc/process/link.cgi
+++ b/httemplate/misc/process/link.cgi
@@ -32,7 +32,9 @@ my $error = $new->replace($old);
unless ($error) {
#no errors, so let's view this customer.
- print $cgi->redirect(popurl(3). "view/cust_pkg.cgi?$pkgnum");
+ my $custnum = $new->cust_pkg->custnum;
+ print $cgi->redirect(popurl(3). "view/cust_main.cgi?$custnum"
+ "#cust_pkg$pkgnum" );
} else {
%>
<!-- mason kludge -->