summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/cust_bill.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 0171f451b..2a7d50637 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -1017,9 +1017,9 @@ sub _agent_plandata {
'plan' => 'send_agent',
'plandata' => { 'op' => '~',
'value' => "(^|\n)agentnum ".
- '\[?[0-9 ,]*'.
- '[ ,]'. $self->cust_main->agentnum. '[ ,]'.
- '[0-9 ,]*\]?'.
+ '([0-9]*, )*'.
+ $self->cust_main->agentnum.
+ '(, [0-9]*)*'.
"(\n|\$)",
},
},