X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_bill_event.pm;h=a31b09b36c7377b58192b697881471d05d23744f;hb=e9af247503b619f0c61a3ba14481bc76752bdd8b;hp=40f7fc79dd2357bbf3d3b879b2d8b28af549e5f7;hpb=105c166a23234dd923757a477b4efcda65fb2881;p=freeside.git diff --git a/FS/FS/part_bill_event.pm b/FS/FS/part_bill_event.pm index 40f7fc79d..a31b09b36 100644 --- a/FS/FS/part_bill_event.pm +++ b/FS/FS/part_bill_event.pm @@ -154,7 +154,7 @@ sub check { #quelle kludge if ( $self->plandata =~ /^templatename\s+(.*)$/ ) { my $name= $1; - unless ( $conf->config("invoice_template_$name") ) { + unless ( $conf->exists("invoice_template_$name") ) { $conf->set( "invoice_template_$name" => join("\n", $conf->config('invoice_template') )