Commit f4a952e7 authored by Stefan Busemann's avatar Stefan Busemann

Apply suggestion to extensions/t3omy/Classes/Hooks/ReactivateUserHook.php

parent c376ebd0
Pipeline #6176 passed with stages
in 4 minutes and 13 seconds
......@@ -127,7 +127,7 @@ class ReactivateUserHook implements \TYPO3\CMS\Backend\RecordList\RecordListGetT
// Transfer a fe_user into ldap
if ($table === 'fe_users') {
$recoverUser = GeneralUtility::_GP('web_list');
$recoverUser = (int)GeneralUtility::_GP('web_list');
if ($recoverUser['command'] == 'LDAP' && $recoverUser['uid'] > 0) {
$this->userRepository = $this->getUserRepository(UserRepository::class);
......
Markdown is supported
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