Commit 46c657e5 authored by Stefan Busemann's avatar Stefan Busemann

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

parent 10edaade
Pipeline #6174 passed with stages
in 3 minutes and 17 seconds
......@@ -107,7 +107,7 @@ class ReactivateUserHook implements \TYPO3\CMS\Backend\RecordList\RecordListGetT
*/
public function getDBlistQuery($table, $pageId, &$additionalWhereClause, &$selectedFieldsList, &$parentObject)
{
$recoverUser = GeneralUtility::_GP('web_list');
$recoverUser = (int)GeneralUtility::_GP('web_list');
if (($table === 'old_users') && $recoverUser['uid'] > 0 && $recoverUser['command'] == 'recoverOldUser') {
$this->oldUserRepository = $this->getUserRepository(OldUserRepository::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