Skip to content

Commit

Permalink
[BUGFIX] Cast id to integer in class BackendUserConfigurationUpdate
Browse files Browse the repository at this point in the history
The newly introduced BackendUserConfigurationUpdate tries to pass a
string value id to the updateBackendUser() function, which requires an
integer. This commit solves that problem

Resolves: #89683
Releases: master, 9.5
Change-Id: Ieca98c01ec44b7e3a4275d645fa6d25ea09d63a2
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62392
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
  • Loading branch information
IndyIndyIndy authored and ervaude committed Nov 22, 2019
1 parent 52e2bf3 commit 6b85947
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function executeUpdate(): bool
}
});

$this->updateBackendUser($backendUser['uid'], $userConfig);
$this->updateBackendUser((int)$backendUser['uid'], $userConfig);
}

return true;
Expand Down

0 comments on commit 6b85947

Please sign in to comment.