]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/licenses.pl
Globale Variablen für Systemeinstellungen und Features nach %::lx_office_conf verschoben
[mfinanz.git] / bin / mozilla / licenses.pl
index 95f520ff9704887a3701599d24931f8187bb2c92..5e396fd5f2ffb04b18e7ebfa55c9c0eb553cbae8 100644 (file)
@@ -325,7 +325,7 @@ sub add {
 
   $form->{title} = $locale->text('Add License');
 
-  if (!$main::lizenzen) {
+  if (!$::lx_office_conf{system}->{lizenzen}) {
     $form->error(
                  $locale->text(
                    'The licensing module has been deactivated in lx-erp.conf.')
@@ -518,7 +518,7 @@ sub search {
 
   $form->{title} = $locale->text('Licenses');
 
-  if (!$main::lizenzen) {
+  if (!$::lx_office_conf{system}->{lizenzen}) {
     $form->error(
                  $locale->text(
                    'The licensing module has been deactivated in lx-erp.conf.')