фикс опечатки

This commit is contained in:
RomanGolienko 2024-11-14 17:03:15 +03:00
parent 34788f5973
commit 8f011bc0ed
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class attendancelog {
$currentTime = $this->currentTime(); $currentTime = $this->currentTime();
$out = array(); $out = array();
foreach ($current_group_classes['raspis'] as $class) { foreach ($current_group_classes['raspis'] as $class) {
if ($class['week1'] != $currentTime['week1']) { if ($class['week1'] == $currentTime['week1']) {
$out['info'][$class['day1']]['day_name'] = $class['day_name']; $out['info'][$class['day1']]['day_name'] = $class['day_name'];
$out['info'][$class['day1']][$class['time1']] = $class; $out['info'][$class['day1']][$class['time1']] = $class;
$out['students'] = $this->getStudentsByGroup($current_group[1]['sokr'], $current_group[1]['fo']); $out['students'] = $this->getStudentsByGroup($current_group[1]['sokr'], $current_group[1]['fo']);