Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Classes/Controller/AbstractController.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,7 @@ public function injectGetPostVarAdapterFactory(Tx_PtExtlist_Domain_StateAdapter_
public function initializeAction()
{
parent::initializeAction();
if (!TYPO3_MODE === 'BE') {
$this->initFeUser();
}
$this->initFeUser();
$this->initListIdentifier();
$this->buildConfigurationBuilder();
$this->buildAndInitSessionPersistenceManager();
Expand Down Expand Up @@ -319,7 +317,7 @@ protected function resetOnEmptySubmit()
}
}



/**
* @return void
Expand Down Expand Up @@ -492,7 +490,9 @@ protected function redirect($actionName, $controllerName = null, $extensionName

protected function initFeUser()
{
$userUid = $GLOBALS['TSFE']->fe_user->user['uid'];
$this->feUser = $this->feUserRepository->findByUid($userUid);
if (array_key_exists('TSFE', $GLOBALS) && $GLOBALS['TSFE']->loginUser) {
$userUid = $GLOBALS['TSFE']->fe_user->user['uid'];
$this->feUser = $this->feUserRepository->findByUid($userUid);
}
}
}