mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
#11447 add io_safe_output
This commit is contained in:
parent
564cc9652e
commit
823817e22f
@ -965,7 +965,7 @@ foreach ($fields as $field) {
|
||||
true
|
||||
);
|
||||
} else if ($field['is_link_enabled']) {
|
||||
list($link_text, $link_url) = json_decode($custom_value, true);
|
||||
list($link_text, $link_url) = json_decode(io_safe_output($custom_value), true);
|
||||
|
||||
if (json_last_error() !== JSON_ERROR_NONE) {
|
||||
$link_text = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user