Skip to content

Commit

Permalink
return true from CMB2_Option::update so that the updated variable get…
Browse files Browse the repository at this point in the history
…s added to
  • Loading branch information
jtsternberg committed Oct 2, 2014
1 parent f5c3b93 commit c635567
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/CMB2_Options.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ function update( $field_id, $value = '', $resave = false, $single = true ) {
if ( $resave || $field_id === true ) {
return $this->set();
}

return true;
}

/**
Expand Down

0 comments on commit c635567

Please sign in to comment.