X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=9528db2437f6bb3ba762364e60462242a3fae671;hb=02b9c53fb85b0a87d959e140dc30ae21cccb0902;hp=121c0522a8e2d84bcd3ac94efd64d116cba4e52f;hpb=ba1f19e48ec2f2ac293b07a41042de59e744db1e;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 121c0522a..9528db243 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -97,15 +97,13 @@ % if ( $conf->exists('cust_main-enable_birthdate') ) { -% eval "use DateTime;"; -% die $@ if $@; % my $dt = DateTime->from_epoch(epoch => $cust_main->birthdate, % time_zone=>'floating', % ); Date of Birth - <% $cust_main->birthdate ? $dt->strftime($date_format) : '' %> + <% $cust_main->birthdate ne '' ? $dt->strftime($date_format) : '' %> % }