From: jeff Date: Mon, 9 Oct 2006 04:27:17 +0000 (+0000) Subject: more BoD X-Git-Tag: TRIXBOX_2_6~932 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=64de1cc0535da3e6c31866c9ed046b43d1da01d3 more BoD --- 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'); %