Skip to content
Snippets Groups Projects
Commit 26b0c081 authored by Olivier PEREZ's avatar Olivier PEREZ
Browse files

Fix filter_input call

parent 45716d15
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ if (isset($_POST['update_poll_info'])) { ...@@ -64,7 +64,7 @@ if (isset($_POST['update_poll_info'])) {
// Update the right poll field // Update the right poll field
if ($field == 'title') { if ($field == 'title') {
$title = $filter_input(INPUT_POST, 'title', FILTER_DEFAULT); $title = filter_input(INPUT_POST, 'title', FILTER_DEFAULT);
if ($title) { if ($title) {
$poll->title = $title; $poll->title = $title;
$updated = true; $updated = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment