1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Fixes #3494 - wrong HTML markup with poll_answer id

This commit is contained in:
Tijn Kuyper 2018-10-08 17:04:19 +02:00 committed by GitHub
parent 0d82695503
commit 72f6534eae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -673,7 +673,7 @@ class poll
// // break;
// }
$opt = ($count==1) ? "id='poll_answer'" : "";
$opt = ($count==1) ? "poll_answer" : "";
$text .= "<div class='form-group' ".$opt.">
".$frm->text('poll_option[]', $_POST['poll_option'][($count-1)], '200', array('placeholder' => POLLAN_4, 'id' => $opt))."