Skip to content

Commit

Permalink
Support legacy better when a Group is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
d4mation committed Mar 29, 2021
1 parent 2338d33 commit 34b0dd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/class-rbm-fh-fields-save.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ private function save_meta_fields( $group, $post_ID ) {

$field_db_ID = "{$this->prefix}_{$field}";

if ( ! isset( $_POST[ $field_db_ID ] ) ) $_POST[ $field_db_ID ] = false;

$value = $_POST[ $field_db_ID ];

/**
Expand Down

0 comments on commit 34b0dd7

Please sign in to comment.