Skip to content

Commit

Permalink
Fix empty headers on mobile view #99
Browse files Browse the repository at this point in the history
  • Loading branch information
zahardev committed Dec 18, 2024
1 parent c3002d1 commit ca78011
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions future/includes/class-gv-template-view-table.php
Original file line number Diff line number Diff line change
@@ -378,11 +378,8 @@ public function the_field( \GV\Field $field, \GV\Entry $entry ) {
);

if ( $entry->is_multi() ) {
if ( ! $single_entry = $entry->from_field( $field ) ) {
echo '<td></td>';
return;
}
$form = GF_Form::by_id( $field->form_id );
$single_entry = $entry->from_field( $field );
$form = GF_Form::by_id( $field->form_id );
}

$renderer = new Field_Renderer();

0 comments on commit ca78011

Please sign in to comment.