summaryrefslogtreecommitdiff
path: root/FS/FS/svc_acct.pm
diff options
context:
space:
mode:
authorjeff <jeff>2010-06-17 17:50:16 +0000
committerjeff <jeff>2010-06-17 17:50:16 +0000
commit13b6214b6cdb5a9ad6a6afc0c1ebe3f5118b4a10 (patch)
tree9ffcd80985e1a3c4ebb900dff40bceedd0f3f7d2 /FS/FS/svc_acct.pm
parentfe104b1e0f896ed93d0cab8c9c1b514f3090899e (diff)
fix null option with placeholders
Diffstat (limited to 'FS/FS/svc_acct.pm')
-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 562d424..022a6c7 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 )
);
}