From a4420f4fcbd6ba61ada209c2ea9c2b3eb3cc4166 Mon Sep 17 00:00:00 2001 From: Sebastian Meyer Date: Mon, 8 Jul 2024 10:15:36 +0200 Subject: [PATCH] Update Classes/Common/Helper.php --- Classes/Common/Helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Common/Helper.php b/Classes/Common/Helper.php index a2ab069db..b2807d6a3 100644 --- a/Classes/Common/Helper.php +++ b/Classes/Common/Helper.php @@ -424,7 +424,7 @@ public static function getIndexNameFromUid(int $uid, string $table, int $pid = - if ( !$uid // NOTE: Only use tables that don't have too many entries! - || !in_array($table, ['tx_dlf_collections', 'tx_dlf_libraries', 'tx_dlf_metadata', 'tx_dlf_metadatasubentries','tx_dlf_structures', 'tx_dlf_solrcores']) + || !in_array($table, ['tx_dlf_collections', 'tx_dlf_libraries', 'tx_dlf_metadata', 'tx_dlf_metadatasubentries', 'tx_dlf_structures', 'tx_dlf_solrcores']) ) { self::log('Invalid UID "' . $uid . '" or table "' . $table . '"', LOG_SEVERITY_ERROR); return '';