diff --git a/public_html/deployment/plugins/rollout/awx/rollout_awx.php b/public_html/deployment/plugins/rollout/awx/rollout_awx.php index 7ffed5c5575cbc45e1dbfb74f43cbfaa96d24536..41919f55bd53d82f3d09614f4add82c720eb5577 100644 --- a/public_html/deployment/plugins/rollout/awx/rollout_awx.php +++ b/public_html/deployment/plugins/rollout/awx/rollout_awx.php @@ -177,7 +177,7 @@ class rollout_awx extends rollout_base { // ----- Checks: $sCmdChecks=''; if($aConfig['extravars']){ - $aTmp=json_decode($aConfig['extravars']); + $aTmp=json_decode($aConfig['extravars'], 1); if (!$aTmp || !is_array($aTmp) || !count($aTmp) ){ $sCmdChecks.='echo "ERROR: Value in extravars has wrong Syntax - this is no JSON: '.$aConfig['extravars'].'"; exit 1; '; }