Commit a38fe161 authored by Eric Windham's avatar Eric Windham Committed by GitHub

Merge pull request #3580 from wpninjas/submissions-500

Added early escape for any fields that have somehow gotten corrupted
parents 3be89691 120c8cfa
......@@ -158,6 +158,8 @@ final class NF_Admin_Menus_Submissions extends NF_Abstracts_Submenu
$hidden_field_types = apply_filters( 'ninja_forms_sub_hidden_field_types', array() );
foreach( $fields as $field ){
if ( is_null( $field ) ) continue;
if( in_array( $field->get_setting( 'type' ), $hidden_field_types ) ) continue;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment