'table' => 'cust_main',
'post_url' => popurl(1). 'process/cust_main-contacts.html',
'no_pkey_display' => 1,
+ 'submit_id' => 'submit',
'labels' => {
'contactnum' => ' ', #'Contact',
#'locationnum' => ' ',
my $curuser = $FS::CurrentUser::CurrentUser;
my $conf = new FS::Conf;
+if ( $cgi->param('redirect') ) {
+ my $session = $cgi->param('redirect');
+ my $pref = $curuser->option("redirect$session");
+ die "unknown redirect session $session\n" unless length($pref);
+ $cgi = new CGI($pref);
+}
+
my $custnum;
if ( $cgi->param('error') ) {
$custnum = scalar($cgi->param('custnum'));