[freeside-commits] freeside/httemplate/edit/process svc_acct.cgi, 1.17, 1.18
Ivan,,,
ivan at wavetail.420.am
Thu Aug 12 15:25:40 PDT 2010
- Previous message: [freeside-commits] freeside/fs_selfservice/drupal admin.inc, NONE, 1.1 freeside.class.php, NONE, 1.1 freeside.info, NONE, 1.1 freeside.module, NONE, 1.1 signup.inc, NONE, 1.1
- Next message: [freeside-commits] freeside/httemplate/edit/process svc_acct.cgi, 1.11.4.5, 1.11.4.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv8460
Modified Files:
svc_acct.cgi
Log Message:
counter values can be negative
Index: svc_acct.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/svc_acct.cgi,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -w -d -r1.17 -r1.18
--- svc_acct.cgi 29 Jun 2010 01:01:59 -0000 1.17
+++ svc_acct.cgi 12 Aug 2010 22:25:38 -0000 1.18
@@ -70,7 +70,7 @@
grep { $new->$_ }
qw( seconds upbytes downbytes totalbytes );
- $error ||= "invalid $_" foreach grep { $hash{$_} !~ /^\d+$/ } keys %hash;
+ $error ||= "invalid $_" foreach grep { $hash{$_} !~ /^-?\d+$/ } keys %hash;
$error ||= $new->set_usage(\%hash); #unoverlimit and trigger radius changes
last; #once is enough
}
- Previous message: [freeside-commits] freeside/fs_selfservice/drupal admin.inc, NONE, 1.1 freeside.class.php, NONE, 1.1 freeside.info, NONE, 1.1 freeside.module, NONE, 1.1 signup.inc, NONE, 1.1
- Next message: [freeside-commits] freeside/httemplate/edit/process svc_acct.cgi, 1.11.4.5, 1.11.4.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list