Commit af04570c authored by KR Moorhouse's avatar KR Moorhouse Committed by Iain Poulson

Resolved undefined index on submissions page.

parent 1420d739
......@@ -175,7 +175,7 @@ class NF_Admin_CPT_Submission
if( in_array( $field[ 'settings' ][ 'type' ], array_values( $hidden_field_types ) ) ) continue;
$id = $field[ 'id' ];
$label = $field[ 'settings' ][ 'label' ];
$label = isset( $field[ 'settings' ][ 'label' ] ) ? $field[ 'settings'][ 'label' ] : '';
$columns[ $id ] = ( isset( $field[ 'settings' ][ 'admin_label' ] ) && $field[ 'settings' ][ 'admin_label' ] ) ? $field[ 'settings' ][ 'admin_label' ] : $label;
}
......
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