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 '';