Commit 0c16461f authored by Stefan Busemann's avatar Stefan Busemann

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

parent f4a952e7
Pipeline #6177 passed with stages
in 3 minutes and 42 seconds
......@@ -129,7 +129,7 @@ class ReactivateUserHook implements \TYPO3\CMS\Backend\RecordList\RecordListGetT
if ($table === 'fe_users') {
$recoverUser = (int)GeneralUtility::_GP('web_list');
if ($recoverUser['command'] == 'LDAP' && $recoverUser['uid'] > 0) {
if ($recoverUser['command'] === 'LDAP' && $recoverUser['uid'] > 0) {
$this->userRepository = $this->getUserRepository(UserRepository::class);
$feUser = $this->userRepository->findByUid($recoverUser['uid']);
......
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