From 9620a7bb34cf7c4a91a7af5cb344bec2fad84113 Mon Sep 17 00:00:00 2001 From: qronald Date: Fri, 3 Feb 2017 12:57:44 -0400 Subject: [PATCH] HOR-2642 --- workflow/engine/methods/setup/pluginsChange.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) {