From 626e10991776bda1c4c0cfebad626644b232689d Mon Sep 17 00:00:00 2001 From: Ferry Ariawan Date: Wed, 30 Dec 2020 08:47:07 +0700 Subject: [PATCH] Update form_body.blade.php Fixing Array and string offset access syntax with curly braces is deprecated --- src/views/default/form_body.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/default/form_body.blade.php b/src/views/default/form_body.blade.php index 98828e6dd..94c4ea09a 100644 --- a/src/views/default/form_body.blade.php +++ b/src/views/default/form_body.blade.php @@ -58,8 +58,8 @@ array_walk($join_arr, 'trim'); $join_table = $join_arr[0]; $join_title = $join_arr[1]; - $join_query_{$join_table} = DB::table($join_table)->select($join_title)->where("id", $row->{'id_'.$join_table})->first(); - $value = @$join_query_{$join_table}->{$join_title}; + $join_query_[$join_table] = DB::table($join_table)->select($join_title)->where("id", $row->{'id_'.$join_table})->first(); + $value = @$join_query_[$join_table]->{$join_title}; } $form['type'] = ($form['type']) ?: 'text'; $type = @$form['type']; @@ -90,4 +90,4 @@

{{$type}} is not found in type component system


@endif