From 64de1cc0535da3e6c31866c9ed046b43d1da01d3 Mon Sep 17 00:00:00 2001 From: jeff Date: Mon, 9 Oct 2006 04:27:17 +0000 Subject: [PATCH] more BoD --- httemplate/edit/process/cust_main.cgi | 4 ++++ 1 file changed, 4 insertions(+) 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'); % -- 2.11.0