Merge branch '1306-new-functions-in-pandora-manage-to-visual-console-dev' into 'develop'

Added change to scape double quotes

See merge request !846
This commit is contained in:
vgilc 2017-09-22 15:08:07 +02:00
commit 5713c6b42f
1 changed files with 2 additions and 0 deletions

View File

@ -5520,6 +5520,8 @@ sub cli_export_visual_console() {
$first = 0;
}
$label =~ s/"/\\"/g;
$data_to_json .= '{"image":"' . $image . '"';
$data_to_json .= ',"pos_y":' . $pos_y;
$data_to_json .= ',"pos_x":' . $pos_x;