From 75adcfc175c2c0f2b9c3ead4b9c12815e4da5e4b Mon Sep 17 00:00:00 2001 From: ArrayIterator <37867551+ArrayIterator@users.noreply.github.com> Date: Fri, 19 Jul 2024 01:21:06 +0700 Subject: [PATCH] Update AbstractUser.php --- src/Database/Entities/Abstracts/AbstractUser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/Entities/Abstracts/AbstractUser.php b/src/Database/Entities/Abstracts/AbstractUser.php index 87a584e..5cd240f 100644 --- a/src/Database/Entities/Abstracts/AbstractUser.php +++ b/src/Database/Entities/Abstracts/AbstractUser.php @@ -435,7 +435,7 @@ public function setLastName(?string $lastname) : void public function getRole(): string { - return $this->role; + return $this->role??''; } public function setRole(string $role) : void