projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d13e36
)
avoid harmless warning: Use of uninitialized value in string ne
author
ivan
<ivan>
Thu, 23 Jul 2009 19:46:42 +0000
(19:46 +0000)
committer
ivan
<ivan>
Thu, 23 Jul 2009 19:46:42 +0000
(19:46 +0000)
FS/FS/cust_pay.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pay.pm
b/FS/FS/cust_pay.pm
index
08699ac
..
21a6068
100644
(file)
--- 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;