From afce921b6685973b7f2717191b71a75712d4551a Mon Sep 17 00:00:00 2001 From: Adam Wysocki Date: Tue, 10 Dec 2024 10:18:28 +0100 Subject: [PATCH] Fixes --- Service/TpayAliasService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Service/TpayAliasService.php b/Service/TpayAliasService.php index d6d2adb..01d47d2 100644 --- a/Service/TpayAliasService.php +++ b/Service/TpayAliasService.php @@ -39,7 +39,7 @@ public function getCustomerAlias(int $customerId) ->from($tableName) ->where('cli_id = ?', $customerId); - return $connection->fetchRow($select)['alias']; + return $connection->fetchRow($select)['alias'] ?? null; } public function saveCustomerAlias(int $customerId, string $alias): void