mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
more db*
git-svn-id: http://www.observium.org/svn/observer/trunk@2324 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -12,9 +12,8 @@ print_optionbar_start('', '');
|
||||
echo("<span style='font-weight: bold;'>Graphs</span> » ");
|
||||
|
||||
$sep = "";
|
||||
$query = mysql_query("SELECT * FROM device_graphs WHERE device_id = '".$device['device_id']."'");
|
||||
|
||||
while ($graph = mysql_fetch_assoc($query))
|
||||
foreach (dbFetchRows("SELECT * FROM device_graphs WHERE device_id = ?", array($device['device_id'])) as $graph)
|
||||
{
|
||||
$section = $config['graph_types']['device'][$graph['graph']]['section'];
|
||||
$graph_enable[$section][$graph['graph']] = $graph['graph'];
|
||||
|
Reference in New Issue
Block a user