2009-01-23 Esteban Sanchez <estebans@artica.es>

* godmode/reporting/map_builder.php: Fixed an error when getting
	layout data on AJAX and any module was selected for the node.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Esteban Sanchez 2009-01-23 11:48:28 +00:00
parent c4d38a3362
commit 062e03ff1c
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-01-23 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/map_builder.php: Fixed an error when getting
layout data on AJAX and any module was selected for the node.
2009-01-22 Sancho Lerena <slerena@artica.es>
* images/*: Added more icons and backgrouns for visual console.
@ -688,7 +693,6 @@
* fgraph.php: Some graphs are now fixed and uses tagente_datos and
tagent_access with utimestamp and without id_agent index. Works faster
2009-01-09 Evi Vanoost <vanooste@rcbi.rochester.edu>
* general/footer.php, operation/agentes/sla_view.php,

View File

@ -129,7 +129,9 @@ if ($get_background_info) {
if ($get_layout_data) {
$id_layout_data = (int) get_parameter ('id_layout_data');
$layout_data = get_db_row ('tlayout_data', 'id', $id_layout_data);
if ($layout_data['id_agente_modulo'])
$layout_data['id_agent'] = give_agent_id_from_module_id ($layout_data['id_agente_modulo']);
if (defined ('AJAX')) {
echo json_encode ($layout_data);
exit;