Skip to content
Snippets Groups Projects
Commit 7b25bffa authored by Matthias Adrowski's avatar Matthias Adrowski
Browse files

[TASK] Reenable Backend label in DatabaseRecordList

parent ddf2914b
No related branches found
No related tags found
No related merge requests found
......@@ -57,6 +57,9 @@ class ControlViewHelper extends AbstractViewHelper {
$row = $this->arguments['row'];
$row = BackendUtility::getRecord('tx_sgjobs_domain_model_job', $row['uid']);
// force reading of core file into $GLOBALS['LANG'], because the ->labels array will be empty otherwise
$GLOBALS['LANG']->includeLLFile('EXT:core/Resources/Private/Language/locallang_mod_web_list.xlf');
$databaseRecordList = GeneralUtility::makeInstance(DatabaseRecordList::class);
$pageInfo = BackendUtility::readPageAccess($row['pid'], $GLOBALS['BE_USER']->getPagePermsClause(1));
if (version_compare(\TYPO3\CMS\Core\Utility\VersionNumberUtility::getCurrentTypo3Version(), '11.0.0', '<')) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment