projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://github.com/rvandam/Freeside
[freeside.git]
/
httemplate
/
edit
/
process
/
cust_main.cgi
diff --git
a/httemplate/edit/process/cust_main.cgi
b/httemplate/edit/process/cust_main.cgi
index
d295ed3
..
4fb8f62
100755
(executable)
--- a/
httemplate/edit/process/cust_main.cgi
+++ b/
httemplate/edit/process/cust_main.cgi
@@
-1,7
+1,7
@@
% if ( $error ) {
% $cgi->param('error', $error);
% if ( $error ) {
% $cgi->param('error', $error);
-%
-<% $cgi->redirect(popurl(2). "cust_main.cgi?
". $cgi->query_string
) %>
+%
my $query = $m->scomp('/elements/create_uri_query', 'secure'=>1);
+<% $cgi->redirect(popurl(2). "cust_main.cgi?
$query"
) %>
%
% } else {
%
%
% } else {
%
@@
-11,7
+11,7
@@
<%once>
my $me = '[edit/process/cust_main.cgi]';
<%once>
my $me = '[edit/process/cust_main.cgi]';
-my $DEBUG =
1
;
+my $DEBUG =
0
;
</%once>
<%init>
</%once>
<%init>
@@
-213,6
+213,7
@@
if ( $new->custnum eq '' or $duplicate_of ) {
#later 'custnum' => $custnum,
'pkgpart' => $pkgpart,
'locationnum' => scalar($cgi->param('locationnum')),
#later 'custnum' => $custnum,
'pkgpart' => $pkgpart,
'locationnum' => scalar($cgi->param('locationnum')),
+ 'salesnum' => scalar($cgi->param('salesnum')),
} );
} );