2009-12-22 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_custom_graphs.php: fix the name of custom graphs in the config select box in widget. Fixes: 2918740 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
de5ee31aa4
commit
9544da9b70
|
@ -1,3 +1,9 @@
|
|||
2009-12-22 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_custom_graphs.php: fix the name of custom graphs in the
|
||||
config select box in widget.
|
||||
Fixes: 2918740
|
||||
|
||||
2009-12-22 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/config_process.php, include/functions_db.php: fix alert message
|
||||
|
|
|
@ -58,12 +58,11 @@ function get_user_custom_graphs ($id_user = 0, $only_names = false) {
|
|||
}
|
||||
else {
|
||||
$graphs[$graph['id_graph']] = $graph;
|
||||
$graphsCount = get_db_value_sql("SELECT COUNT(id_gs) FROM tgraph_source WHERE id_graph = " . $graph['id_graph']);
|
||||
$graphs[$graph['id_graph']]['graphs_count'] = $graphsCount;
|
||||
}
|
||||
|
||||
$graphsCount = get_db_value_sql("SELECT COUNT(id_gs) FROM tgraph_source WHERE id_graph = " . $graph['id_graph']);
|
||||
$graphs[$graph['id_graph']]['graphs_count'] = $graphsCount;
|
||||
}
|
||||
|
||||
|
||||
return $graphs;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue