diff --git a/templates/element/genericElements/Form/genericForm.php b/templates/element/genericElements/Form/genericForm.php index 9e3ba2e..5807da6 100644 --- a/templates/element/genericElements/Form/genericForm.php +++ b/templates/element/genericElements/Form/genericForm.php @@ -83,7 +83,7 @@ $submitButtonData['ajaxSubmit'] = $ajaxSubmit; } $ajaxFlashMessage = ''; - if ($ajax) { + if (!empty($ajax)) { $ajaxFlashMessage = sprintf( '