From d05a1e5182d1b247b36999e8d8269d747e3b5ee4 Mon Sep 17 00:00:00 2001 From: Antonin Date: Mon, 9 May 2016 14:49:09 +0200 Subject: [PATCH] Allowing to remove empty slot. --- adminstuds.php | 2 +- tpl/part/messages.tpl | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 tpl/part/messages.tpl diff --git a/adminstuds.php b/adminstuds.php index a9977db..5c6ba56 100644 --- a/adminstuds.php +++ b/adminstuds.php @@ -333,7 +333,7 @@ if (isset($_POST['confirm_delete_poll'])) { // Delete a slot // ------------------------------- -if (!empty($_GET['delete_column'])) { +if (isset($_GET['delete_column'])) { $column = filter_input(INPUT_GET, 'delete_column', FILTER_DEFAULT); $column = Utils::base64url_decode($column); diff --git a/tpl/part/messages.tpl b/tpl/part/messages.tpl new file mode 100644 index 0000000..e69de29