We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4bbdb8 commit fecb8a8Copy full SHA for fecb8a8
inc/fields/checkboxesfield.class.php
@@ -55,10 +55,10 @@ public function displayField($canEdit = true) {
55
$current_value = $this->value;
56
echo "<div class='checkbox'>";
57
echo Html::getCheckbox([
58
- 'title' => $value,
+ 'title' => htmlentities($value, ENT_QUOTES),
59
'id' => $domId.'_'.$i,
60
- 'name' => $fieldName . '[]',
61
- 'value' => $value,
+ 'name' => htmlentities($fieldName, ENT_QUOTES) . '[]',
+ 'value' => htmlentities($value, ENT_QUOTES),
62
'zero_on_empty' => false,
63
'checked' => in_array($value, $this->value)
64
]);
0 commit comments