diff --git a/app/classes/Framadate/Utils.php b/app/classes/Framadate/Utils.php index 1fae70e..4f2997f 100644 --- a/app/classes/Framadate/Utils.php +++ b/app/classes/Framadate/Utils.php @@ -190,7 +190,7 @@ class Utils { } public static function fromPostOrDefault($postKey, $default = '') { - return !empty($_POST[$postKey]) ? Utils::htmlEscape($_POST[$postKey]) : $default; + return !empty($_POST[$postKey]) ? $_POST[$postKey] : $default; } public static function base64url_encode($input) { diff --git a/tpl/create_poll.tpl b/tpl/create_poll.tpl index 3e42d9b..780431e 100644 --- a/tpl/create_poll.tpl +++ b/tpl/create_poll.tpl @@ -42,7 +42,7 @@ {__('Step 1', 'Poll id rules')} @@ -104,7 +104,7 @@ {if $useRemoteUser} {$form->admin_mail} {else} - + {/if}