fixed minor errors in graphs an license diag
This commit is contained in:
parent
9c143d1d00
commit
58aa334798
|
@ -54,7 +54,7 @@ $rows = db_get_all_rows_in_table('tupdate_settings');
|
||||||
|
|
||||||
$settings = new StdClass;
|
$settings = new StdClass;
|
||||||
foreach ($rows as $row) {
|
foreach ($rows as $row) {
|
||||||
$settings->$row['key'] = $row['value'];
|
$settings->{$row['key']} = $row['value'];
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<script type="text/javascript">';
|
echo '<script type="text/javascript">';
|
||||||
|
|
|
@ -1962,7 +1962,7 @@ function pandoraFlotArea( graph_id, values, legend,
|
||||||
|
|
||||||
if(series.data[j]){
|
if(series.data[j]){
|
||||||
var y = series.data[j][1];
|
var y = series.data[j][1];
|
||||||
var x = series.data[j][0] -1 ;
|
var x = Math.round(series.data[j][0]) -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue