[freeside-commits] freeside/FS/FS cust_main.pm, 1.464.2.33, 1.464.2.34

Ivan,,, ivan at wavetail.420.am
Fri Jul 2 18:27:18 PDT 2010


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv16017

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	cust_main.pm 
Log Message:
should fix cancellations in rare circumstances where cached _num_cust_svc becomes inaccurate, RT#8994

Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.464.2.33
retrieving revision 1.464.2.34
diff -u -w -d -r1.464.2.33 -r1.464.2.34
--- cust_main.pm	3 Jul 2010 01:25:29 -0000	1.464.2.33
+++ cust_main.pm	3 Jul 2010 01:27:16 -0000	1.464.2.34
@@ -2104,7 +2104,7 @@
     return 1  if !$a_num_cust_svc &&  $b_num_cust_svc;
     my @a_cust_svc = $a->cust_svc;
     my @b_cust_svc = $b->cust_svc;
-    return 0  if !scalar(@a_cust_svc) && !scalar(@b_cust_svc)
+    return 0  if !scalar(@a_cust_svc) && !scalar(@b_cust_svc);
     return -1 if  scalar(@a_cust_svc) && !scalar(@b_cust_svc);
     return 1  if !scalar(@a_cust_svc) &&  scalar(@b_cust_svc);
     $a_cust_svc[0]->svc_x->label cmp $b_cust_svc[0]->svc_x->label;



More information about the freeside-commits mailing list