Changeset 85
- Timestamp:
- Jan 20, 2018, 11:49:24 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Version.php
r84 r85 6 6 // and system will need database update. 7 7 8 $Revision = 8 4;8 $Revision = 85; 9 9 $DatabaseRevision = 79; 10 10 $ReleaseTime = strtotime('2018-01-20'); -
trunk/Graph.php
r71 r85 138 138 $TimeRange = $EndTime - $StartTime; 139 139 $TimeMarksIndex = 0; 140 while(($TimeRange / $TimeMarks[$TimeMarksIndex]) > 1) $TimeMarksIndex += 1; 140 while((($TimeRange / $TimeMarks[$TimeMarksIndex]) > 1) and ($TimeMarksIndex < (count($TimeMarks) - 1))) 141 $TimeMarksIndex += 1; 141 142 if($TimeMarksIndex < 2) $TimeMarksIndex = 2; 142 143 $MajorTimeMarks = $TimeMarks[$TimeMarksIndex - 1];
Note:
See TracChangeset
for help on using the changeset viewer.