Skip to content
Browse files

MDL-27696 initialise arrays

Credit goes to David Mudrak.
  • Loading branch information...
1 parent 517d606 commit c0e1e425be1ac300616a9a869f7cfd5973c90bac @skodak skodak committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 course/report/log/graph.php
View
2 course/report/log/graph.php
@@ -94,6 +94,7 @@
$reducedays = 0;
}
+ $days = array();
$i = 0;
while ($timestart < $timenow) {
$timefinish = $timestart + 86400;
@@ -167,6 +168,7 @@
}
$dayfinish = $daystart + 86400;
+ $hours = array();
for ($i=0; $i<=23; $i++) {
$logs[$i] = 0;
$hour = $daystart + $i * 3600;

0 comments on commit c0e1e42

Please sign in to comment.
Something went wrong with that request. Please try again.