projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
customer tags, RT#9192
[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
f72ca0a
..
3158d7b
100755
(executable)
--- a/
httemplate/edit/process/cust_main.cgi
+++ b/
httemplate/edit/process/cust_main.cgi
@@
-73,6
+73,8
@@
if ( defined($cgi->param('same')) && $cgi->param('same') eq "Y" ) {
);
}
);
}
+$new->tagnum( [ $cgi->param('tagnum') ] );
+
my %usedatetime = ( 'birthdate' => 1 );
foreach my $dfield (qw( birthdate signupdate )) {
my %usedatetime = ( 'birthdate' => 1 );
foreach my $dfield (qw( birthdate signupdate )) {
@@
-98,7
+100,7
@@
foreach my $dfield (qw( birthdate signupdate )) {
} else {
} else {
- $parsed =
str2
time($value)
+ $parsed =
parse_date
time($value)
or $error ||= "Invalid $dfield: $value";
}
or $error ||= "Invalid $dfield: $value";
}