diff --git a/application/Espo/Resources/defaults/config.php b/application/Espo/Resources/defaults/config.php index 5c1f7f1c6d..4bf465f85e 100644 --- a/application/Espo/Resources/defaults/config.php +++ b/application/Espo/Resources/defaults/config.php @@ -134,7 +134,7 @@ return [ 'activitiesEntityList' => ['Meeting', 'Call'], 'historyEntityList' => ['Meeting', 'Call', 'Email'], 'busyRangesEntityList' => ['Meeting', 'Call'], - 'emailAutoReplaySuppressPeriod' => '3 hours', + 'emailAutoReplySuppressPeriod' => '3 hours', 'cleanupJobPeriod' => '1 month', 'cleanupActionHistoryPeriod' => '15 days', 'cleanupAuthTokenPeriod' => '1 month', diff --git a/application/Espo/Resources/defaults/systemConfig.php b/application/Espo/Resources/defaults/systemConfig.php index 7bef88b4ba..8d3153dd6a 100644 --- a/application/Espo/Resources/defaults/systemConfig.php +++ b/application/Espo/Resources/defaults/systemConfig.php @@ -170,7 +170,7 @@ return [ 'ldapPortalUserRolesIds', 'ldapPortalUserRolesNames', 'cleanupJobPeriod', - 'emailAutoReplaySuppressPeriod', + 'emailAutoReplySuppressPeriod', 'cleanupActionHistoryPeriod', 'adminNotifications', 'adminNotificationsNewVersion', diff --git a/application/Espo/Services/InboundEmail.php b/application/Espo/Services/InboundEmail.php index 9c7597584d..3abc5c6559 100644 --- a/application/Espo/Services/InboundEmail.php +++ b/application/Espo/Services/InboundEmail.php @@ -79,7 +79,7 @@ class InboundEmail extends RecordService implements protected $parserClassName = MailMimeParser::class; - protected $emailAutoReplaySuppressPeriod = '3 hours'; + protected $emailAutoReplySuppressPeriod = '3 hours'; const PORTION_LIMIT = 20; @@ -807,7 +807,7 @@ class InboundEmail extends RecordService implements $d = new DateTime(); - $d->modify('-' . $this->config->get('emailAutoReplaySuppressPeriod', $this->emailAutoReplaySuppressPeriod)); + $d->modify('-' . $this->config->get('emailAutoReplySuppressPeriod', $this->emailAutoReplySuppressPeriod)); $threshold = $d->format('Y-m-d H:i:s');