fix bug
This commit is contained in:
parent
3b7b8fcdb4
commit
f8f0d5801a
@ -61,7 +61,7 @@ class TeacherScheduleTimeController extends BaseController
|
||||
->with(['teacher', 'subject', 'oneStudentSchedule'])
|
||||
->order('start_time asc')
|
||||
->select()->toArray();
|
||||
|
||||
|
||||
|
||||
$array = [];
|
||||
$stu_nmae = '';
|
||||
@ -70,10 +70,8 @@ class TeacherScheduleTimeController extends BaseController
|
||||
|
||||
|
||||
if ($v['oneStudentSchedule']) {
|
||||
foreach ($v['oneStudentSchedule'] as $k1 => $v1) {
|
||||
if ($v1['is_publish']) {
|
||||
$student[] = $v1['student_name'];
|
||||
}
|
||||
if ($v['is_publish']) {
|
||||
$student[] = $v['student_name'];
|
||||
}
|
||||
} else {
|
||||
$student[] = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user