mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-13 20:32:30 -05:00
Resolve issue in the dashboard caused by PHP7
This commit is contained in:
parent
336de1cedb
commit
5a02de472d
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@foreach($columns as $column)
|
@foreach($columns as $column)
|
||||||
@set('value', empty($item->$column['name']) ? '' : $item->$column['name'])
|
@set('col_name', $column['name'])
|
||||||
|
@set('value', empty($col_name) ? '' : $item->$col_name)
|
||||||
|
|
||||||
@if($column['type'] == 'hidden')
|
@if($column['type'] == 'hidden')
|
||||||
<input class="text-input" type="hidden" name="{{ $column['name'] }}" id="{{ $column['name'] }}" value="{{ $value }}" />
|
<input class="text-input" type="hidden" name="{{ $column['name'] }}" id="{{ $column['name'] }}" value="{{ $value }}" />
|
||||||
|
|
Loading…
Reference in a new issue