From 90d9a9ef662e090d2bca1713c1e47f348b98f277 Mon Sep 17 00:00:00 2001 From: Kevin Ditscheid <kevinditscheid@gmail.com> Date: Tue, 20 Jun 2017 23:07:41 +0200 Subject: [PATCH] [BUGFIX] Provide lang and uc data for workspace notification localization The notification e-mails of workspace changes need the lang of the BackendUser record, this change introduces the lang and uc fields in the getBackendUsers-method to enable the right localization of notifications. Releases: master, 8.7 Resolves: #46217 Change-Id: I45991fa7ef1a5d3610da5f16c5f363aa1f697611 Reviewed-on: https://review.typo3.org/53294 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Thomas Hohn <thomas@hohn.dk> Reviewed-by: Frank Naegler <frank.naegler@typo3.org> Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl> Tested-by: Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> --- typo3/sysext/workspaces/Classes/Service/StagesService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/workspaces/Classes/Service/StagesService.php b/typo3/sysext/workspaces/Classes/Service/StagesService.php index 2e24df50f935..c99ffbfbeda2 100644 --- a/typo3/sysext/workspaces/Classes/Service/StagesService.php +++ b/typo3/sysext/workspaces/Classes/Service/StagesService.php @@ -522,7 +522,7 @@ class StagesService implements \TYPO3\CMS\Core\SingletonInterface $backendUserList = implode(',', GeneralUtility::intExplode(',', $backendUserList)); $backendUsers = BackendUtility::getUserNames( - 'username, uid, email, realName', + 'username, uid, email, realName, lang, uc', 'AND uid IN (' . $backendUserList . ')' . BackendUtility::BEenableFields('be_users') ); -- GitLab