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:
@@ -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))."
|
||||||
|
Reference in New Issue
Block a user