summaryrefslogtreecommitdiff
path: root/httemplate/misc/process/link.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/process/link.cgi')
-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 -->