Changeset 86
- Timestamp:
- Jan 20, 2018, 5:20:40 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Measure/Page.php
r84 r86 47 47 function GetTimeRange() 48 48 { 49 if (!array_key_exists($_SESSION['Period'], $this->GraphTimeRanges)) 50 $_SESSION['Period'] = 'day'; 51 49 52 $Result = $this->GraphTimeRanges[$_SESSION['Period']]['period']; 50 53 if ($Result == -1) … … 126 129 $LastMeasureValue = $Row['Avg']; 127 130 } else { 128 $LastMeasureTime = $this->Time - $this->GetTimeRange();131 $LastMeasureTime = $this->Time; 129 132 $LastMeasureValue = 0; 130 133 }
Note:
See TracChangeset
for help on using the changeset viewer.