diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 99d4cd269b..63f5d0822a 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2010-05-05 Miguel de Dios + + * godmode/reporting/map_builder.php: added the height and width to save in + the copy. + Fixes: #2989340 + 2010-05-05 Miguel de Dios * godmode/reporting/visual_console_builder.php: added the extract size of diff --git a/pandora_console/godmode/reporting/map_builder.php b/pandora_console/godmode/reporting/map_builder.php index 6c52b103ea..70e0ebfa00 100644 --- a/pandora_console/godmode/reporting/map_builder.php +++ b/pandora_console/godmode/reporting/map_builder.php @@ -46,9 +46,11 @@ if ($copy_layout) { // Create the new Console $idGroup = $layout_src[0]['id_group']; $background = $layout_src[0]['background']; + $height = $layout_src[0]['height']; + $width = $layout_src[0]['width']; $visualConsoleName = $name_dst; - $values = array('name' => $visualConsoleName, 'id_group' => $idGroup, 'background' => $background); + $values = array('name' => $visualConsoleName, 'id_group' => $idGroup, 'background' => $background, 'height' => $height, 'width' => $width); $result = process_sql_insert('tlayout', $values); $idNewVisualConsole = $result;