This commit is contained in:
Dai 2024-09-22 21:55:58 +08:00
parent 3b7b8fcdb4
commit f8f0d5801a

View File

@ -70,10 +70,8 @@ class TeacherScheduleTimeController extends BaseController
if ($v['oneStudentSchedule']) { if ($v['oneStudentSchedule']) {
foreach ($v['oneStudentSchedule'] as $k1 => $v1) { if ($v['is_publish']) {
if ($v1['is_publish']) { $student[] = $v['student_name'];
$student[] = $v1['student_name'];
}
} }
} else { } else {
$student[] = ''; $student[] = '';