Fix filter_input call
This commit is contained in:
parent
45716d15c1
commit
26b0c08128
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user