fix null option with placeholders
authorjeff <jeff>
Thu, 17 Jun 2010 17:50:05 +0000 (17:50 +0000)
committerjeff <jeff>
Thu, 17 Jun 2010 17:50:05 +0000 (17:50 +0000)
FS/FS/svc_acct.pm

index 562d424..022a6c7 100644 (file)
@@ -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 )
                  );
   }