mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
Fixed alert command previews in 'Configure alert action' when variable contained a double or single quotes
(cherry picked from commit 443440f99868166431618e9d9b49fe479f4e3467)
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…
x
Reference in New Issue
Block a user