diff --git a/backend/app/Http/Controllers/Api/ChildrenController.php b/backend/app/Http/Controllers/Api/ChildrenController.php index fc21e723..b3f7be40 100644 --- a/backend/app/Http/Controllers/Api/ChildrenController.php +++ b/backend/app/Http/Controllers/Api/ChildrenController.php @@ -349,7 +349,7 @@ KIKI承知システムを使って「聞いてない!」「言ってない! if (request()->route()->action['as'] == 'mdp') { if (null === ($params->father_relations = FatherRelation::select($father_relations_select)->where('child_id', (int)$child_id)->where('father_id', (int)$r->father_id)->first())) { - return ['status_code' => 400]; + $params->father_relations = new \stdClass(); } }