projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
65956c8
)
use a global config too
author
ivan
<ivan>
Mon, 14 Dec 2009 07:52:08 +0000
(07:52 +0000)
committer
ivan
<ivan>
Mon, 14 Dec 2009 07:52:08 +0000
(07:52 +0000)
FS/FS/svc_acct.pm
patch
|
blob
|
history
diff --git
a/FS/FS/svc_acct.pm
b/FS/FS/svc_acct.pm
index
53b9fd6
..
649a783
100644
(file)
--- a/
FS/FS/svc_acct.pm
+++ b/
FS/FS/svc_acct.pm
@@
-2014,14
+2014,14
@@
sub _op_overlimit {
my $cust_pkg = $self->cust_svc->cust_pkg;
my $cust_pkg = $self->cust_svc->cust_pkg;
- my $
agent
_overlimit =
+ my $
conf
_overlimit =
$cust_pkg
? $conf->config('overlimit_groups', $cust_pkg->cust_main->agentnum )
$cust_pkg
? $conf->config('overlimit_groups', $cust_pkg->cust_main->agentnum )
- :
''
;
+ :
$conf->config('overlimit_groups')
;
foreach my $part_export ( $self->cust_svc->part_svc->part_export ) {
foreach my $part_export ( $self->cust_svc->part_svc->part_export ) {
- my $groups = $
agent
_overlimit || $part_export->option('overlimit_groups');
+ my $groups = $
conf
_overlimit || $part_export->option('overlimit_groups');
next unless $groups;
my $gref = &{ $self->_fieldhandlers->{'usergroup'} }( $self, $groups );
next unless $groups;
my $gref = &{ $self->_fieldhandlers->{'usergroup'} }( $self, $groups );