ログの消し

このコミットが含まれているのは:
守矢諏訪子 2022-02-07 14:33:11 +09:00
コミット c2d1a232e7
1個のファイルの変更1行の追加4行の削除

ファイルの表示

@ -815,10 +815,7 @@ class MeetingsController extends Controller {
// 子供達を知らせます。
if (null !== ($fr = FatherRelation::where('father_id', (int)session()->get('fathers')['id'])->get())) {
foreach ($fr as $f) {
if (null === ($child = Child::where('id', $f->child_id)->first())) {
Log::critical('ミーティングの編集エラー子供データが存在しません。親ID'.session()->get('fathers')['id'].'、子ID'.$f->child_id);
}
else {
if (null !== ($child = Child::where('id', $f->child_id)->first())) {
Mail::to($child->email)->send(new MeetingEditNotification(session()->get('fathers')['company'], (int)$meeting_id));
}
}