From: ivan Date: Thu, 23 Jul 2009 19:46:05 +0000 (+0000) Subject: avoid harmless warning: Use of uninitialized value in string ne X-Git-Tag: freeside_1_9_1^2~208 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=0580d615b6339dc2e3cba1700d689074aca7d78d;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 201b427aa..4ff291934 100644 --- a/FS/FS/cust_pay.pm +++ b/FS/FS/cust_pay.pm @@ -345,7 +345,8 @@ sub delete { return $error; } - if ( $conf->config('deletepayments') ne '' ) { + if ( $conf->exists('deletepayments') + && $conf->config('deletepayments') ne '' ) { my $cust_main = $self->cust_main;