mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
minor errata fix
This commit is contained in:
parent
e88152f596
commit
8b09c49871
@ -78,6 +78,9 @@ if ($delete_graph) {
|
||||
if ($view_graph) {
|
||||
$sql = "SELECT * FROM tgraph_source WHERE id_graph = $id_graph";
|
||||
$sources = db_get_all_rows_sql($sql);
|
||||
if ($sources === false) {
|
||||
$sources = [];
|
||||
}
|
||||
|
||||
$sql = "SELECT * FROM tgraph WHERE id_graph = $id_graph";
|
||||
$graph = db_get_row_sql($sql);
|
||||
|
Loading…
x
Reference in New Issue
Block a user