summaryrefslogtreecommitdiff
path: root/httemplate/misc/process
diff options
context:
space:
mode:
authorivan <ivan>2004-03-22 11:06:28 +0000
committerivan <ivan>2004-03-22 11:06:28 +0000
commit49401d74e2f9757808630c6aea4c298f672d2697 (patch)
treea5957807d40775182f593055cbd3074d8c17440f /httemplate/misc/process
parent6cbc1e9226dbacccb377f2d56194946f6d5c6b36 (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 -->