Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Wysocki committed Dec 10, 2024
1 parent 36397c4 commit afce921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Service/TpayAliasService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit afce921

Please sign in to comment.