2010-05-14 Sergio Martin <sergio.martin@artica.es>

* godmode/reporting/visual_console_builder.php: Fixed
	the adding at visual map only the agent if module is 
	no selected and only the module if is selected.
	Bug: 2989339



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2729 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-05-14 10:34:37 +00:00
parent b8efb9d0e1
commit cb392f83bd
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2010-05-14 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.php: Fixed
the adding at visual map only the agent if module is
no selected and only the module if is selected.
Bug: 2989339
2010-05-14 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: fixed the title of button to

View File

@ -142,10 +142,10 @@ switch ($activeTab) {
$width = (int) get_parameter ("width", 0);
$height = (int) get_parameter ("height", 0);
$message = '';
$message = process_wizard_add ($id_agents, $image, $idVisualConsole, $range, $width, $height);
if (!empty ($id_modules)) {
if ($id_modules[0] == 0)
$message .= process_wizard_add ($id_agents, $image, $idVisualConsole, $range, $width, $height);
else
$message .= process_wizard_add_modules ($id_modules, $image, $idVisualConsole, $range, $width, $height);
}
$statusProcessInDB = array('flag' => true, 'message' => $message);
$action = 'edit';
break;