diff --git a/datamodels/2.x/combodo-data-feature-removal/templates/AjaxRunAudit.html.twig b/datamodels/2.x/combodo-data-feature-removal/templates/AjaxRunAudit.html.twig index 9a4baf349e..7ecd325e10 100644 --- a/datamodels/2.x/combodo-data-feature-removal/templates/AjaxRunAudit.html.twig +++ b/datamodels/2.x/combodo-data-feature-removal/templates/AjaxRunAudit.html.twig @@ -26,7 +26,7 @@ {% EndUIToolbar %} {% EndUIForm %} {% else %} - {% UIAlert ForFailure { sTitle: 'aze', sContent: 'DataFeatureRemoval:DeletionPlan:Error:Issues'|dict_s } %}{% EndUIAlert %} + {% UIAlert ForFailure { sTitle: '', sContent: 'DataFeatureRemoval:DeletionPlan:Error:Issues'|dict_s } %}{% EndUIAlert %} {% endif %} {% else %} {% UIAlert ForSuccess { sTitle:'DataFeatureRemoval:CleanupComplete:Title'|dict_s, sContent:'DataFeatureRemoval:CompilComplete'|dict_s } %}{% EndUIAlert %} diff --git a/datamodels/2.x/combodo-data-feature-removal/templates/AnalysisResult.ready.js.twig b/datamodels/2.x/combodo-data-feature-removal/templates/AnalysisResult.ready.js.twig index 47fa4ba20c..c1539c2d80 100644 --- a/datamodels/2.x/combodo-data-feature-removal/templates/AnalysisResult.ready.js.twig +++ b/datamodels/2.x/combodo-data-feature-removal/templates/AnalysisResult.ready.js.twig @@ -19,6 +19,7 @@ function ajax_run_audit() { } ) .fail(function() { + $('#ajax_run_audit_in_progress_msg').addClass('ibo-is-hidden'); $('#ajax_run_audit_error_msg .ibo-alert--title').html('{{ 'DataFeatureRemoval:RunAudit:Error'|dict_s }}'); $('#ajax_run_audit_error_msg').removeClass('ibo-is-hidden'); }); @@ -46,6 +47,7 @@ function ajax_compile() { 'json' ) .fail(function() { + $('#ajax_compile_in_progress_msg').addClass('ibo-is-hidden'); $('#ajax_compile_error_msg .ibo-alert--title').html('{{ 'DataFeatureRemoval:Compile:Error'|dict_s }}'); $('#ajax_compile_error_msg').removeClass('ibo-is-hidden'); }); diff --git a/sources/Service/Session/SessionParameters.php b/sources/Service/Session/SessionParameters.php index 55257a7665..7d3a1647e4 100644 --- a/sources/Service/Session/SessionParameters.php +++ b/sources/Service/Session/SessionParameters.php @@ -45,7 +45,7 @@ class SessionParameters */ public function SetParameter($sParamCode, $value): void { - if (!isset($this->aParameters[$sParamCode]) || $this->aParameters[$sParamCode] !== $value) { + if (!array_key_exists($sParamCode, $this->aParameters) || $this->aParameters[$sParamCode] !== $value) { $this->aParameters[$sParamCode] = $value; $this->Save(); }