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