mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-13 06:01:21 +00:00
set default value on null given
This commit is contained in:
parent
2b0077c5be
commit
6086c6a687
@ -67,7 +67,7 @@ abstract class Entry
|
||||
): void
|
||||
{
|
||||
$this->gtk->set_text(
|
||||
trim(
|
||||
is_null($value) ? $this->_value : trim(
|
||||
strval(
|
||||
$value
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user