From af01528f57108bdf686054a1b9b776d073e136ec Mon Sep 17 00:00:00 2001 From: grandeljay Date: Fri, 25 Feb 2022 22:32:40 +0100 Subject: [PATCH] Refactor --- src/classes/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/user.php b/src/classes/user.php index 21f8957f..2aa12a78 100644 --- a/src/classes/user.php +++ b/src/classes/user.php @@ -26,7 +26,7 @@ class User } if (!isset($this->id)) { - return; + return null; } global $database;