mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed alert command previews in 'Configure alert action' when variable contained a double or single quotes
This commit is contained in:
parent
7e13fbc388
commit
443440f998
@ -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…
x
Reference in New Issue
Block a user