diff --git a/backend/app/Http/Controllers/Api/FathersController.php b/backend/app/Http/Controllers/Api/FathersController.php index 77f363ad..ec79b220 100644 --- a/backend/app/Http/Controllers/Api/FathersController.php +++ b/backend/app/Http/Controllers/Api/FathersController.php @@ -138,7 +138,7 @@ class FathersController extends Controller { foreach ($list as $i => $l) { $result[] = $l; if (null === ($result[$i]['relation'] = FatherRelation::select($father_relation_select)->where('father_id', $l->id)->first())) { - return ['status_code' => 400]; + continue; } }