Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Merge branch 'issue-10'
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeCulea committed Oct 5, 2018
2 parents ce0e9fa + 8a9be0b commit fe55428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function retrieve_flexible_keys() {
if ( 'flexible_content' === $field['type'] ) {
// Flexible is recursive structure with sub_fields into layouts
foreach ( $field['layouts'] as $layout_field ) {
if ( $keys [ $layout_field ] ) {
if ( ! empty( $keys [ $layout_field ] ) ) {
continue;
}
$keys[ $layout_field['key'] ] = $layout_field['name'];
Expand Down

0 comments on commit fe55428

Please sign in to comment.