diff --git a/src/Listener/SaveReactionsToDatabase.php b/src/Listener/SaveReactionsToDatabase.php index 7bf09ff..b6b2975 100755 --- a/src/Listener/SaveReactionsToDatabase.php +++ b/src/Listener/SaveReactionsToDatabase.php @@ -231,6 +231,7 @@ protected function isExtensionEnabled(string $extension): bool protected function getSessionId(): ?string { $session = $this->request->getAttribute('session'); + return $session ? $session->getId() : null; } }