summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2010-06-17 17:50:05 +0000
committerjeff <jeff>2010-06-17 17:50:05 +0000
commit21426b9a62d60c511a2a251289b0aa9693263be3 (patch)
tree510bfd593e449cc7d51ad0e44aa0f765090fde59
parentfa1c0c3942adfd229918081c441e95f6c2418036 (diff)
fix null option with placeholders
-rw-r--r--FS/FS/svc_acct.pm2
1 files changed, 1 insertions, 1 deletions
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 )
);
}