summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2006-10-09 04:27:17 +0000
committerjeff <jeff>2006-10-09 04:27:17 +0000
commit64de1cc0535da3e6c31866c9ed046b43d1da01d3 (patch)
tree1566a734fc0e819913dd453eb3c43449e2c946d5
parent5ca0a811040aa6037b8423571236705df4bd3db1 (diff)
more BoD
-rwxr-xr-xhttemplate/edit/process/cust_main.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi
index 1aaed2890..33f7bb895 100755
--- a/httemplate/edit/process/cust_main.cgi
+++ b/httemplate/edit/process/cust_main.cgi
@@ -53,6 +53,10 @@
% );
%}
%
+%if ( $cgi->param('birthdate') && $cgi->param('birthdate') =~ /^([ 0-9\-\/]{0,10})$/ ) {
+% $new->setfield('birthdate', str2time($1));
+%}
+%
%$new->setfield('paid', $cgi->param('paid') )
% if $cgi->param('paid');
%