Skip to content

Commit

Permalink
Merge pull request crocodic-studio#1674 from dedyksuntoro/patch-7
Browse files Browse the repository at this point in the history
Fix form_detail.blade.php
  • Loading branch information
fherryfherry authored Jun 18, 2021
2 parents 5fd9161 + 504af0b commit 0bce1b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/default/form_detail.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
$join_title = $join_arr[1];
$join_table_pk = CB::pk($join_table);
$join_fk = CB::getForeignKey($table, $join_table);
$join_query_{$join_table} = DB::table($join_table)->select($join_title)->where($join_table_pk, $row->{$join_fk})->first();
$value = @$join_query_{$join_table}->{$join_title};
$join_query_[$join_table] = DB::table($join_table)->select($join_title)->where($join_table_pk, $row->{$join_fk})->first();
$value = @$join_query_[$join_table]->{$join_title};
}
$type = @$form['type'] ?: 'text';
Expand Down Expand Up @@ -104,4 +104,4 @@
<?php endforeach;?>

</table>
</div>
</div>

0 comments on commit 0bce1b9

Please sign in to comment.