|
@@ -135,7 +135,8 @@ class Education
|
|
|
->where('course_status', 1)
|
|
->where('course_status', 1)
|
|
|
->whereIn('gr_id', (array) $gr_id)
|
|
->whereIn('gr_id', (array) $gr_id)
|
|
|
->where('course_audit', 1)
|
|
->where('course_audit', 1)
|
|
|
- ->get();
|
|
|
|
|
|
|
+ ->select()
|
|
|
|
|
+ ->toArray();
|
|
|
$course_list = [];
|
|
$course_list = [];
|
|
|
foreach ($courses as $course) {
|
|
foreach ($courses as $course) {
|
|
|
$course_info = [
|
|
$course_info = [
|