Skip to content

Commit 83b8d36

Browse files
committed
fix: corrected value for language
1 parent d283f52 commit 83b8d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpmyfaq/api.service.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@
464464

465465
try {
466466
$notification = new Notification($faqConfig);
467-
$notification->sendNewFaqAdded($moderators, $recordId, $faqLanguage);
467+
$notification->sendNewFaqAdded($moderators, $recordId, $faqEntity->getLanguage());
468468
} catch (Exception | TransportExceptionInterface $e) {
469469
$faqConfig->getLogger()->info('Notification could not be sent: ', [ $e->getMessage() ]);
470470
}

0 commit comments

Comments
 (0)