From: ivan Date: Thu, 23 Jul 2009 19:46:42 +0000 (+0000) Subject: avoid harmless warning: Use of uninitialized value in string ne X-Git-Tag: freeside_1_7_4rc1~7 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=d7cef9cc7da81d45074b459a6f5b87aa23ac2419;p=freeside.git avoid harmless warning: Use of uninitialized value in string ne --- diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index 08699acd1..21a6068c3 100644 --- a/FS/FS/cust_pay.pm +++ b/FS/FS/cust_pay.pm @@ -339,7 +339,8 @@ sub delete { return $error; } - if ( $conf->config('deletepayments') ne '' ) { + if ( $conf->exists('deletepayments') + && $conf->config('deletepayments') ne '' ) { my $cust_main = $self->cust_main;