Skip to content

Commit

Permalink
Update Classes/Common/Helper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-meyer authored Jul 8, 2024
1 parent 6d0164d commit a4420f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Common/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 '';
Expand Down

0 comments on commit a4420f4

Please sign in to comment.