mirror of
https://github.com/processwire/processwire.git
synced 2025-08-17 20:11:46 +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>";
|
"<option value=''>" . $this->_('Actions') . "</option>";
|
||||||
|
|
||||||
foreach($actions as $name => $label) {
|
foreach($actions as $name => $label) {
|
||||||
$out .= "<option value='$name'>" . $sanitizer->entities($label) . "</option>";
|
$out .= "<option value='$name'>" . $sanitizer->entities1($label) . "</option>";
|
||||||
}
|
}
|
||||||
|
|
||||||
$out .= "</select> ";
|
$out .= "</select> ";
|
||||||
|
Reference in New Issue
Block a user