diff --git a/src/Model/Table/SettingProviders/BaseSettingsProvider.php b/src/Model/Table/SettingProviders/BaseSettingsProvider.php index f9fae08..7bb6442 100644 --- a/src/Model/Table/SettingProviders/BaseSettingsProvider.php +++ b/src/Model/Table/SettingProviders/BaseSettingsProvider.php @@ -188,7 +188,7 @@ class BaseSettingsProvider * @param array $setting * @return mixed */ - public function evaluateFunctionForSetting($fun, $setting) + public function evaluateFunctionForSetting($fun, &$setting) { $functionResult = true; if (is_callable($fun)) { // Validate with anonymous function