Skip to content

Commit dada741

Browse files
committed
fix(form): show session messages on anonymous forms
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent b463d3a commit dada741

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

inc/form.class.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2144,7 +2144,9 @@ public static function header() {
21442144
);
21452145
case "public";
21462146
default:
2147-
return Html::nullHeader(__('Form Creator', 'formcreator'), $_SERVER['PHP_SELF']);
2147+
Html::nullHeader(__('Form Creator', 'formcreator'), $_SERVER['PHP_SELF']);
2148+
Html::displayMessageAfterRedirect();
2149+
return true;
21482150
}
21492151
}
21502152

0 commit comments

Comments
 (0)