From 6086c6a687e194c630716857446e2986617b625a Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 7 Jul 2024 20:47:43 +0300 Subject: [PATCH] set default value on null given --- src/Abstract/Entity/Entry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Abstract/Entity/Entry.php b/src/Abstract/Entity/Entry.php index e669afd8..6bf7a223 100644 --- a/src/Abstract/Entity/Entry.php +++ b/src/Abstract/Entity/Entry.php @@ -67,7 +67,7 @@ abstract class Entry ): void { $this->gtk->set_text( - trim( + is_null($value) ? $this->_value : trim( strval( $value )