Added simple quotes

This commit is contained in:
Arturo Gonzalez 2017-09-27 12:21:33 +02:00
parent 0a47af8cbc
commit 28ecf5c51b
1 changed files with 2 additions and 2 deletions

View File

@ -5489,7 +5489,7 @@ sub cli_export_visual_console() {
FROM tlayout_data
WHERE id_layout = $id");
$data_to_json .= '[';
$data_to_json .= "'[";
foreach my $element (@console_elements) {
my $pos_x = $element->{'pos_x'};
my $pos_y = $element->{'pos_y'};
@ -5546,7 +5546,7 @@ sub cli_export_visual_console() {
$data_to_json .= '}';
}
$data_to_json .= ']';
$data_to_json .= "]'";
if ($path eq '') {
open(FicheroJSON, ">console_" . $id . "_elements");