From: jeff Date: Thu, 17 Jun 2010 17:50:05 +0000 (+0000) Subject: fix null option with placeholders X-Git-Tag: freeside_1_9_4~53 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=21426b9a62d60c511a2a251289b0aa9693263be3 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 ) ); }