projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ugh, hopefully fixup agent_plandata regex for multiple agents
[freeside.git]
/
FS
/
FS
/
cust_bill.pm
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
3c53ecd
..
c3ad158
100644
(file)
--- a/
FS/FS/cust_bill.pm
+++ b/
FS/FS/cust_bill.pm
@@
-1017,7
+1017,9
@@
sub _agent_plandata {
'plan' => 'send_agent',
'plandata' => { 'op' => '~',
'value' => "(^|\n)agentnum ".
- $self->cust_main->agentnum.
+ '\[?[0-9 ,]*'.
+ '[ ,]'. $self->cust_main->agentnum. '[ ,]'
+ '[0-9 ,]*\]?'.
"(\n|\$)",
},
},