Skip to content

Commit

Permalink
Merge pull request #18 from tarosky/bugfix/not-null
Browse files Browse the repository at this point in the history
Avoid null be saved.
  • Loading branch information
fumikito authored Jul 16, 2024
2 parents 36a2b47 + e213344 commit 50a73ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tarosky/TSCF/UI/Fields/Input.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public function save_data() {
* @return mixed
*/
protected function normalize_save_data( $data ) {
return $data;
return $data ?? '';
}

/**
Expand Down

0 comments on commit 50a73ae

Please sign in to comment.