dev/core#1768 - Correct whitespace error in Mail.php
authorStephen Palmstrom <spalmstrom@missionassist.onmicrosoft.com>
Mon, 29 Jun 2020 11:20:08 +0000 (12:20 +0100)
committerStephen Palmstrom <spalmstrom@missionassist.onmicrosoft.com>
Mon, 29 Jun 2020 11:20:08 +0000 (12:20 +0100)
CRM/Admin/Form/Setting/Mail.php

index 31845880d87cafe652a7a6ff93fb55cd2138b6a9..eb99863fc4c1492025bae68ff32f837ee7dd608b 100644 (file)
@@ -57,8 +57,9 @@ class CRM_Admin_Form_Setting_Mail extends CRM_Admin_Form_Setting {
         $errors['mailerJobSize'] = ts('A job size smaller than the batch limit will negate the effect of the batch limit.');
       }
     }
+    // dev/core#1768 Check the civimail_sync_interval setting.
     if (CRM_Utils_Array::value('civimail_sync_interval', $fields) < 1) {
-       $errors['civimail_sync_interval'] = ts('Error - the synchronization interval must be at least 1');
+      $errors['civimail_sync_interval'] = ts('Error - the synchronization interval must be at least 1');
     }
     return empty($errors) ? TRUE : $errors;
   }