Commit c376ebd0 authored by Stefan Busemann's avatar Stefan Busemann

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

parent 46c657e5
Pipeline #6175 failed with stages
in 32 seconds
......@@ -108,7 +108,7 @@ class ReactivateUserHook implements \TYPO3\CMS\Backend\RecordList\RecordListGetT
public function getDBlistQuery($table, $pageId, &$additionalWhereClause, &$selectedFieldsList, &$parentObject)
{
$recoverUser = (int)GeneralUtility::_GP('web_list');
if (($table === 'old_users') && $recoverUser['uid'] > 0 && $recoverUser['command'] == 'recoverOldUser') {
if (($table === 'old_users') && $recoverUser['uid'] > 0 && $recoverUser['command'] === 'recoverOldUser') {
$this->oldUserRepository = $this->getUserRepository(OldUserRepository::class);
$oldUser = $this->oldUserRepository->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