фикс опечатки
This commit is contained in:
parent
34788f5973
commit
8f011bc0ed
|
@ -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']);
|
||||||
|
|
Loading…
Reference in New Issue