From 8f011bc0ed086dfe17628e492d92673b0762f46d Mon Sep 17 00:00:00 2001 From: RomanGolienko Date: Thu, 14 Nov 2024 17:03:15 +0300 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=20=D0=BE=D0=BF=D0=B5?= =?UTF-8?q?=D1=87=D0=B0=D1=82=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/attendancelog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/attendancelog.php b/inc/attendancelog.php index 6c82f95..d39cc0a 100644 --- a/inc/attendancelog.php +++ b/inc/attendancelog.php @@ -74,7 +74,7 @@ class attendancelog { $currentTime = $this->currentTime(); $out = array(); 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']][$class['time1']] = $class; $out['students'] = $this->getStudentsByGroup($current_group[1]['sokr'], $current_group[1]['fo']);