Skip to content

Commit

Permalink
fix: corrected value for language
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Sep 22, 2024
1 parent d283f52 commit 83b8d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpmyfaq/api.service.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() ]);
}
Expand Down

0 comments on commit 83b8d36

Please sign in to comment.