summaryrefslogtreecommitdiff
path: root/httemplate/misc/unsusp_pkg.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/unsusp_pkg.cgi')
-rwxr-xr-xhttemplate/misc/unsusp_pkg.cgi11
1 files changed, 10 insertions, 1 deletions
diff --git a/httemplate/misc/unsusp_pkg.cgi b/httemplate/misc/unsusp_pkg.cgi
index b350693dd..ad7effcb3 100755
--- a/httemplate/misc/unsusp_pkg.cgi
+++ b/httemplate/misc/unsusp_pkg.cgi
@@ -1,7 +1,16 @@
%if ( $error ) {
% errorpage($error);
%} else {
-<% $cgi->redirect(popurl(2). "view/cust_main.cgi?".$cust_pkg->getfield('custnum')) %>
+% my $cookie = CGI::Cookie->new( -name => 'freeside_status',
+% -value => mt('Package unsuspended'),
+% -expires => '+5m',
+% );
+% #$r->headers_out->add( 'Set-Cookie' => $cookie->as_string );
+<% $cgi->redirect(
+ -uri => popurl(2). "view/cust_main.cgi?show=packages;custnum=".$cust_pkg->getfield('custnum'),
+ -cookie => $cookie
+ )
+%>
%}
<%init>