diff --git a/Classes/Utility/Typo3ConfVarsUtility.php b/Classes/Utility/Typo3ConfVarsUtility.php index 645908201..c2175a2fe 100644 --- a/Classes/Utility/Typo3ConfVarsUtility.php +++ b/Classes/Utility/Typo3ConfVarsUtility.php @@ -43,11 +43,7 @@ public static function getDMConfigMergedFields(): array public static function getDMConfigSendPerCycle(): int { $dmConfig = self::getDMConfig(); - if (trim($dmConfig['sendPerCycle'])) { - return (int)(trim($dmConfig['sendPerCycle'])); - } - - return 50; + return (int)($dmConfig['sendPerCycle'] ?? 50); } public static function getDMConfigNotificationJob(): bool