From 83b8d3625f4a527ba370334c8da22e7e4671a7ba Mon Sep 17 00:00:00 2001 From: Thorsten Rinne Date: Sun, 22 Sep 2024 14:34:52 +0200 Subject: [PATCH] fix: corrected value for language --- phpmyfaq/api.service.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpmyfaq/api.service.php b/phpmyfaq/api.service.php index 21338d2047..afd103e638 100644 --- a/phpmyfaq/api.service.php +++ b/phpmyfaq/api.service.php @@ -464,7 +464,7 @@ try { $notification = new Notification($faqConfig); - $notification->sendNewFaqAdded($moderators, $recordId, $faqLanguage); + $notification->sendNewFaqAdded($moderators, $recordId, $faqEntity->getLanguage()); } catch (Exception | TransportExceptionInterface $e) { $faqConfig->getLogger()->info('Notification could not be sent: ', [ $e->getMessage() ]); }