Skip to content

Commit

Permalink
fix(checkboxesfield): single quote rendering
Browse files Browse the repository at this point in the history
Signed-off-by: btry <tbugier@teclib.com>
  • Loading branch information
btry committed Oct 26, 2018
1 parent e4bbdb8 commit fecb8a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inc/fields/checkboxesfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ public function displayField($canEdit = true) {
$current_value = $this->value;
echo "<div class='checkbox'>";
echo Html::getCheckbox([
'title' => $value,
'title' => htmlentities($value, ENT_QUOTES),
'id' => $domId.'_'.$i,
'name' => $fieldName . '[]',
'value' => $value,
'name' => htmlentities($fieldName, ENT_QUOTES) . '[]',
'value' => htmlentities($value, ENT_QUOTES),
'zero_on_empty' => false,
'checked' => in_array($value, $this->value)
]);
Expand Down

0 comments on commit fecb8a8

Please sign in to comment.