1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02: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

View File

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