diff --git a/workflow/engine/methods/setup/pluginsChange.php b/workflow/engine/methods/setup/pluginsChange.php index 9d5453157..a9b6c472c 100644 --- a/workflow/engine/methods/setup/pluginsChange.php +++ b/workflow/engine/methods/setup/pluginsChange.php @@ -93,8 +93,8 @@ if ($handle = opendir( PATH_PLUGINS )) { * Calls PMExtensionClass Builder to include Plugins changes. */ $config = Bootstrap::getSystemConfiguration(); - - if (!empty($config['experimental_features'])) { + $activeExperimentalFeatures = isset($config['experimental_features']) ? $config['experimental_features'] : true; + if ($activeExperimentalFeatures) { $phpBuilder = new ProcessMakerPhpBuilderHelper(); $phpBuilder->enabledExtensions = $oPluginRegistry->getEnabledPlugins(); if (!empty($phpBuilder->enabledExtensions)) {