Fixed alert command previews in 'Configure alert action' when variable contained a double or single quotes
(cherry picked from commit 443440f998
)
This commit is contained in:
parent
c0a2b0385d
commit
340c965f92
|
@ -61,7 +61,7 @@ if (is_ajax ()) {
|
|||
$fields_descriptions = empty($command['fields_descriptions']) ? '' : json_decode(io_safe_output($command['fields_descriptions']), true);
|
||||
|
||||
// Fields values are stored in json
|
||||
$fields_values = empty($command['fields_values']) ? '' : json_decode(io_safe_output($command['fields_values']), true);
|
||||
$fields_values = empty($command['fields_values']) ? '' : io_safe_output(json_decode($command['fields_values'], true));
|
||||
|
||||
$fields_rows = array();
|
||||
for ($i = 1; $i <= 10; $i++) {
|
||||
|
|
Loading…
Reference in New Issue