From: jeff Date: Thu, 17 Jun 2010 17:50:16 +0000 (+0000) Subject: fix null option with placeholders X-Git-Tag: root_of_svc_elec_features~146 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=13b6214b6cdb5a9ad6a6afc0c1ebe3f5118b4a10 fix null option with placeholders --- diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 562d424fd..022a6c731 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -2287,7 +2287,7 @@ sub set_usage { my $reset = 0; my %handyhash = (); if ( $options{null} ) { - %handyhash = ( map { ( $_ => 'NULL', $_."_threshold" => 'NULL' ) } + %handyhash = ( map { ( $_ => undef, $_."_threshold" => undef ) } qw( seconds upbytes downbytes totalbytes ) ); }