summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/cust_bill.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 3c53ecd16..c3ad158db 100644
--- 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|\$)",
},
},