[freeside-commits] freeside/FS/FS cust_pay.pm,1.50.2.18,1.50.2.19

Ivan,,, ivan at wavetail.420.am
Thu Jul 23 12:46:44 PDT 2009


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

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	cust_pay.pm 
Log Message:
avoid harmless warning: Use of uninitialized value in string ne

Index: cust_pay.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pay.pm,v
retrieving revision 1.50.2.18
retrieving revision 1.50.2.19
diff -u -d -r1.50.2.18 -r1.50.2.19
--- cust_pay.pm	5 Jun 2008 05:07:54 -0000	1.50.2.18
+++ cust_pay.pm	23 Jul 2009 19:46:42 -0000	1.50.2.19
@@ -339,7 +339,8 @@
     return $error;
   }
 
-  if ( $conf->config('deletepayments') ne '' ) {
+  if (    $conf->exists('deletepayments')
+       && $conf->config('deletepayments') ne '' ) {
 
     my $cust_main = $self->cust_main;
 



More information about the freeside-commits mailing list