From e2133440af0b3f69317f4bec8212141f44526ca6 Mon Sep 17 00:00:00 2001 From: fumikito Date: Tue, 16 Jul 2024 22:21:31 +0900 Subject: [PATCH] Avoid null be saved. --- src/Tarosky/TSCF/UI/Fields/Input.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tarosky/TSCF/UI/Fields/Input.php b/src/Tarosky/TSCF/UI/Fields/Input.php index 062e868..ada52bf 100644 --- a/src/Tarosky/TSCF/UI/Fields/Input.php +++ b/src/Tarosky/TSCF/UI/Fields/Input.php @@ -187,7 +187,7 @@ public function save_data() { * @return mixed */ protected function normalize_save_data( $data ) { - return $data; + return $data ?? ''; } /**