Skip to content

Commit

Permalink
Make sure to pass a string to GU::trimExplode()
Browse files Browse the repository at this point in the history
  • Loading branch information
christophlehmann committed Sep 4, 2024
1 parent 388a704 commit b917c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Service/ConfigurationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static function showEventId(): bool
public static function getLogWriterComponentIgnorelist(): array
{
$ignoreList = self::getExtensionConfiguration('logWriterComponentBlacklist') ?? self::getExtensionConfiguration(self::LOGWRITER_COMPONENT_IGNORELIST);
return GeneralUtility::trimExplode(',', $ignoreList, true);
return GeneralUtility::trimExplode(',', $ignoreList ?? '', true);
}

public static function shouldDisableDatabaseLogging(): bool
Expand Down

0 comments on commit b917c6f

Please sign in to comment.