From 89e89d607a318225f84f30dcd44eee5a9753a056 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 3 Aug 2024 10:28:26 +0300 Subject: [PATCH] set null record value on name entry is empty --- src/Entity/Browser/Container/Page/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Browser/Container/Page/Auth.php b/src/Entity/Browser/Container/Page/Auth.php index 609baa4e..58311d7a 100644 --- a/src/Entity/Browser/Container/Page/Auth.php +++ b/src/Entity/Browser/Container/Page/Auth.php @@ -194,7 +194,7 @@ class Auth $this->page->container->browser->database->identity->add( $identity->crt(), $identity->key(), - $this->name->get_text() + $this->name->get_text() ? $this->name->get_text() : null ), $this->page->navbar->request->getValue() );