diff --git a/.php_cs b/.php_cs
index 30f2c6a5f7b6021322c3eea0107af85c8266bfdf..4ebdc6e304fa27e812bd04ece7c15a2e7b2755ae 100644
--- a/.php_cs
+++ b/.php_cs
@@ -38,7 +38,8 @@ return PhpCsFixer\Config::create()
             ->exclude([
                 'vendor',
                 'var',
-                'web'
+                'web',
+                'tpl_c',
             ])
             ->in(__DIR__)
     )
diff --git a/create_poll.php b/create_poll.php
index 91b8ed0080f3e4bffdd817b1b6b38fb82377f3c9..b1983657f83710d423ed1e9e8da9d0a64100f2b9 100644
--- a/create_poll.php
+++ b/create_poll.php
@@ -41,9 +41,7 @@ if (!isset($_SESSION['form'])) {
 }
 
 // Type de sondage
-if (isset($_GET['type']) && $_GET['type'] === 'date' ||
-    isset($_POST['type']) && $_POST['type'] === 'date'
-) {
+if (isset($_GET['type']) && $_GET['type'] === 'date') {
     $poll_type = 'date';
     $_SESSION['form']->choix_sondage = $poll_type;
 } else {
diff --git a/locale.bat b/locale.bat
deleted file mode 100644
index a9e53b5084628937e7b0c818917a11defeec2e95..0000000000000000000000000000000000000000
--- a/locale.bat
+++ /dev/null
@@ -1,5 +0,0 @@
-msgfmt -o locale\fr_FR\LC_MESSAGES\Studs.mo locale\fr_FR\LC_MESSAGES\Studs.po
-msgfmt -o locale\es_ES\LC_MESSAGES\Studs.mo locale\es_ES\LC_MESSAGES\Studs.po
-msgfmt -o locale\de_DE\LC_MESSAGES\Studs.mo locale\de_DE\LC_MESSAGES\Studs.po
-msgfmt -o locale\en_GB\LC_MESSAGES\Studs.mo locale\en_GB\LC_MESSAGES\Studs.po
-pause
\ No newline at end of file
diff --git a/tpl/create_poll.tpl b/tpl/create_poll.tpl
index 59353e3993705f5417a6889c713cd8c7895d13f9..61fc3d9cf95673d3cebb820e995421c4c801ad2f 100644
--- a/tpl/create_poll.tpl
+++ b/tpl/create_poll.tpl
@@ -329,7 +329,6 @@
                 </div>
 
                 <p class="text-right">
-                    <input type="hidden" name="type" value="$poll_type"/>
                     <button name="{$goToStep2}" value="{$poll_type}" type="submit"
                             class="btn btn-success">{__('Step 1', 'Go to step 2')}</button>
                 </p>