This commit is contained in:
Dai 2024-09-22 21:57:12 +08:00
parent f8f0d5801a
commit 213307c0af

View File

@ -68,10 +68,9 @@ class TeacherScheduleTimeController extends BaseController
foreach ($student_schedule as $k => &$v) { foreach ($student_schedule as $k => &$v) {
if ($v['oneStudentSchedule']) { if ($v['oneStudentSchedule']) {
if ($v['is_publish']) { if ($v['is_publish']) {
$student[] = $v['student_name']; $student[] = $v['oneStudentSchedule']['student_name'];
} }
} else { } else {
$student[] = ''; $student[] = '';