Skip to content

Commit

Permalink
Fix entity form bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dvlpp committed Jan 20, 2016
1 parent 86b5627 commit 03a37f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/cms/partials/form.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@foreach($template->fields($instance->{$entity->idAttribute()}?1:2) as $fieldsetName => $fieldTemplate)
@foreach($template->fields($entity instanceof \Dvlpp\Sharp\Config\SharpEntityConfig && $instance->{$entity->idAttribute()}?1:2) as $fieldsetName => $fieldTemplate)

@if(is_string($fieldsetName))
{{--Fieldset--}}
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.7
3.1.8

0 comments on commit 03a37f5

Please sign in to comment.