X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1de53cbf8a926ae3ae89bc5466ab660df82484b2..0ecaba2bd92a6a217c9c6f281e3c825c01c3975d:/bin/mozilla/licenses.pl diff --git a/bin/mozilla/licenses.pl b/bin/mozilla/licenses.pl index 95f520ff9..fb065f254 100644 --- a/bin/mozilla/licenses.pl +++ b/bin/mozilla/licenses.pl @@ -325,10 +325,10 @@ sub add { $form->{title} = $locale->text('Add License'); - if (!$main::lizenzen) { + if (!$::lx_office_conf{features}->{lizenzen}) { $form->error( $locale->text( - 'The licensing module has been deactivated in lx-erp.conf.') + 'The licensing module has been deactivated in the configuration.') ); } @@ -518,10 +518,10 @@ sub search { $form->{title} = $locale->text('Licenses'); - if (!$main::lizenzen) { + if (!$::lx_office_conf{features}->{lizenzen}) { $form->error( $locale->text( - 'The licensing module has been deactivated in lx-erp.conf.') + 'The licensing module has been deactivated in the configuration.') ); }