diff --git a/templates/league-table.php b/templates/league-table.php index 7387d0c8..ce1555a1 100644 --- a/templates/league-table.php +++ b/templates/league-table.php @@ -44,7 +44,7 @@ $labels = $data[0]; // Remove the first row to leave us with the actual data unset( $data[0] ); -if ( ! $columns ) +if ( $columns === null ) $columns = get_post_meta( $id, 'sp_columns', true ); if ( null !== $columns && ! is_array( $columns ) )