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:
m-lopez-f 2015-01-29 13:40:19 +01:00
parent c0a2b0385d
commit 340c965f92
1 changed files with 1 additions and 1 deletions

View File

@ -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++) {