Browse Source

set default value on null given

PHP-GTK3
yggverse 4 months ago
parent
commit
6086c6a687
  1. 2
      src/Abstract/Entity/Entry.php

2
src/Abstract/Entity/Entry.php

@ -67,7 +67,7 @@ abstract class Entry @@ -67,7 +67,7 @@ abstract class Entry
): void
{
$this->gtk->set_text(
trim(
is_null($value) ? $this->_value : trim(
strval(
$value
)

Loading…
Cancel
Save