diff options
author | ivan <ivan> | 2009-07-23 19:46:05 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-07-23 19:46:05 +0000 |
commit | 0580d615b6339dc2e3cba1700d689074aca7d78d (patch) | |
tree | 6e9a8c0cc0d92924a51fb78e782efc2e935985de /FS | |
parent | 6fcc07e1f7e5ef310413967b9eb32f57e30c60ae (diff) |
avoid harmless warning: Use of uninitialized value in string ne
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_pay.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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; |