1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-16 03:34:33 +02:00

Change an sanitizer entities() call to entities1() since it's getting double encoded for some reason in @adrianbj case

This commit is contained in:
Ryan Cramer
2018-01-05 12:37:40 -05:00
parent 4f7981cf75
commit f3749d241a

View File

@@ -787,7 +787,7 @@ class InputfieldImage extends InputfieldFile implements InputfieldItemList, Inpu
"<option value=''>" . $this->_('Actions') . "</option>";
foreach($actions as $name => $label) {
$out .= "<option value='$name'>" . $sanitizer->entities($label) . "</option>";
$out .= "<option value='$name'>" . $sanitizer->entities1($label) . "</option>";
}
$out .= "</select> ";