2010-09-27 Sergio Martin <sergio.martin@artica.es>

* godmode/reporting/graph_builder.php: Fixed typo bug



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3300 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-09-27 08:04:13 +00:00
parent 8493f7ed3e
commit a05d88d184
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2010-09-27 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/graph_builder.php: Fixed typo bug
2010-09-27 Sergio Martin <sergio.martin@artica.es> 2010-09-27 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/graph_builder.main.php: Set default * godmode/reporting/graph_builder.main.php: Set default

View File

@ -108,7 +108,7 @@ if ($update_graph) {
$success = process_sql_update('tgraph', $success = process_sql_update('tgraph',
array('name' => $name, 'id_group' => $id_group, 'description' => $description, 'width' => $width, 'height' => $height, 'period' => $period, 'stacked' => $stacked, 'events' => $events), array('name' => $name, 'id_group' => $id_group, 'description' => $description, 'width' => $width, 'height' => $height, 'period' => $period, 'stacked' => $stacked, 'events' => $events),
array('id_graph' => $id)); array('id_graph' => $id_graph));
} else { } else {
$success = false; $success = false;
} }
@ -167,7 +167,7 @@ if($edit_graph) {
$buttons[$active_tab]['active'] = true; $buttons[$active_tab]['active'] = true;
$graphInTgraph = get_db_row_sql("SELECT name FROM tgraph WHERE id_graph = " . $id); $graphInTgraph = get_db_row_sql("SELECT name FROM tgraph WHERE id_graph = " . $id_graph);
$name = $graphInTgraph['name']; $name = $graphInTgraph['name'];
} }
else { else {