From ccbb619514ba6cb4536a18273e5eea069ca31062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=86=E3=82=AF=E3=83=8B=E3=82=AB=E3=83=AB=E8=AB=8F?= =?UTF-8?q?=E8=A8=AA=E5=AD=90?= Date: Wed, 17 Nov 2021 22:18:02 +0900 Subject: [PATCH] =?UTF-8?q?=EF=BD=93=EF=BD=94=EF=BD=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/Http/Controllers/Api/ChildrenController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } }