freeside/FS/FS cust_bill.pm,1.124,1.125

Ivan Kohler ivan at pouncequick.420.am
Wed Jun 8 23:14:45 PDT 2005


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv29084

Modified Files:
	cust_bill.pm 
Log Message:
ugh, hopefully fixup agent_plandata regex for multiple agents

Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -d -r1.124 -r1.125
--- cust_bill.pm	9 Jun 2005 06:01:10 -0000	1.124
+++ cust_bill.pm	9 Jun 2005 06:14:43 -0000	1.125
@@ -1017,7 +1017,9 @@
       'plan'      => 'send_agent',
       'plandata'  => { 'op'    => '~',
                        'value' => "(^|\n)agentnum ".
-                                  $self->cust_main->agentnum.
+                                   '\[?[0-9 ,]*'.
+                                  '[ ,]'. $self->cust_main->agentnum. '[ ,]'
+                                  '[0-9 ,]*\]?'.
                                   "(\n|\$)",
                      },
     },




More information about the freeside-commits mailing list