Commit c46e56e7 authored by Nikita Hovratov's avatar Nikita Hovratov Committed by Georg Ringer
Browse files

[BUGFIX] Fix broken icon for groups with allowed all tables

This fixes the wrong comparison with the key instead of the value
in the foreach loop.

Fixes: #89694
Releases: master, 9.5, 8.7
Change-Id: I6d1d4b9d89a9ac0db1215245b39edb23b3a888f8

Tested-by: default avatarTYPO3com <>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <>
Tested-by: Georg Ringer's avatarGeorg Ringer <>
Reviewed-by: Oliver Klee's avatarOliver Klee <>
Reviewed-by: Tymoteusz Motylewski's avatarTymoteusz Motylewski <>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <>
Reviewed-by: Georg Ringer's avatarGeorg Ringer <>
parent e34d152c
......@@ -50,7 +50,7 @@ class TableList extends AbstractNode
$allowed = GeneralUtility::trimExplode(',', $config['allowed'], true);
$allowedTablesHtml = [];
foreach ($allowed as $tableName) {
if ($allowed === '*') {
if ($tableName === '*') {
$label = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.allTables');
$allowedTablesHtml[] = '<span>';
$allowedTablesHtml[] = htmlspecialchars($label);
Supports Markdown
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