[freeside-commits] freeside/FS/FS svc_acct.pm, 1.268.2.25, 1.268.2.26

Jeff Finucane,420,, jeff at wavetail.420.am
Thu Jun 17 10:50:07 PDT 2010


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv24251

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	svc_acct.pm 
Log Message:
fix null option with placeholders

Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.268.2.25
retrieving revision 1.268.2.26
diff -u -w -d -r1.268.2.25 -r1.268.2.26
--- svc_acct.pm	13 Jun 2010 18:01:36 -0000	1.268.2.25
+++ svc_acct.pm	17 Jun 2010 17:50:05 -0000	1.268.2.26
@@ -2287,7 +2287,7 @@
   my $reset = 0;
   my %handyhash = ();
   if ( $options{null} ) { 
-    %handyhash = ( map { ( $_ => 'NULL', $_."_threshold" => 'NULL' ) }
+    %handyhash = ( map { ( $_ => undef, $_."_threshold" => undef ) }
                    qw( seconds upbytes downbytes totalbytes )
                  );
   }



More information about the freeside-commits mailing list