Skip to content
Snippets Groups Projects
Commit 62d074f8 authored by Garvin Hicking's avatar Garvin Hicking Committed by Jasmina Ließmann
Browse files

[BUGFIX] Set correct owner info in workspace notifications

Similar to #104228 there was another place where the
'actiontype' array key of a history record was checked
for 'BE' context, instead of the proper 'usertype'.

There should now be no more remaining instances of
core usage for 'actiontype' with a 'BE' check.

Resolves: #104314
Related: #104228
Related: #98024
Releases: main, 12.4
Change-Id: I1833929d16ecef937ba260fe498e9abdee94b9c9
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85133


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarJasmina Ließmann <minapokhalo+typo3@gmail.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarJasmina Ließmann <minapokhalo+typo3@gmail.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 3777b48e
Branches
Tags
No related merge requests found
......@@ -60,7 +60,7 @@ class RecordService implements SingletonInterface
foreach ($this->getIdsPerTable() as $tableName => $ids) {
$historyRecords = $recordHistory->getCreationInformationForMultipleRecords($tableName, $ids);
foreach ($historyRecords as $historyRecord) {
if ($historyRecord['actiontype'] === 'BE') {
if ($historyRecord['usertype'] === 'BE') {
$createUserIds[] = (int)$historyRecord['userid'];
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment