diff --git a/locallib.php b/locallib.php index 5df4484..7c291b4 100644 --- a/locallib.php +++ b/locallib.php @@ -806,7 +806,7 @@ class attendance { $info_array[] = construct_session_full_date_time($lastsession->sessdate, $lastsession->duration); break; } else { - $info_array[] = construct_session_full_date_time($sess->sessdate, $sess->duration); + $info_array[] = construct_session_full_date_time($sess->sessdate, $sess->duration); } $i++; }