File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1757,9 +1757,9 @@ public function toHtml($_version = 'dashboard', $_options = '') {
1757
1757
$ replace ['#minHistoryValue# ' ] = round (intval ($ replace ['#state# ' ]), 1 );
1758
1758
$ replace ['#maxHistoryValue# ' ] = round (intval ($ replace ['#state# ' ]), 1 );
1759
1759
} else {
1760
- $ replace ['#averageHistoryValue# ' ] = round ($ historyStatistique ['avg ' ], 1 );
1761
- $ replace ['#minHistoryValue# ' ] = round ($ historyStatistique ['min ' ], 1 );
1762
- $ replace ['#maxHistoryValue# ' ] = round ($ historyStatistique ['max ' ], 1 );
1760
+ $ replace ['#averageHistoryValue# ' ] = round (intval ( $ historyStatistique ['avg ' ]) , 1 );
1761
+ $ replace ['#minHistoryValue# ' ] = round (intval ( $ historyStatistique ['min ' ]) , 1 );
1762
+ $ replace ['#maxHistoryValue# ' ] = round (intval ( $ historyStatistique ['max ' ]) , 1 );
1763
1763
}
1764
1764
$ startHist = date ('Y-m-d H:i:s ' , strtotime (date ('Y-m-d H:i:s ' ) . ' - ' . config::byKey ('historyCalculTendance ' ) . ' hour ' ));
1765
1765
$ tendance = $ this ->getTendance ($ startHist , date ('Y-m-d H:i:s ' ));
You can’t perform that action at this time.
0 commit comments