Reflect style guidelines
authorNiels Heinemann <heinemann@kompetenzz.de>
Fri, 20 May 2016 13:02:30 +0000 (15:02 +0200)
committerNiels Heinemann <heinemann@kompetenzz.de>
Fri, 20 May 2016 13:02:30 +0000 (15:02 +0200)
CRM/Admin/Form/Setting/Miscellaneous.php

index 1a092f5b04b888dea7a989f6dc1b2549cd9dc359..e481b724a7fc013bc7ad0f5f5884f18d1c4895b4 100644 (file)
@@ -103,10 +103,10 @@ class CRM_Admin_Form_Setting_Miscellaneous extends CRM_Admin_Form_Setting {
     }
 
     // validate recent items stack size
-    if ($fields['recentItemsMaxCount'] && ($fields['recentItemsMaxCount'] < 1 || $fields['recentItemsMaxCount'] > CRM_Utils_Recent::MAX_ITEMS)) { 
-      $errors['recentItemsMaxCount'] = ts("Illegal stack size. Use values between 1 and %1.", array( 1 => CRM_Utils_Recent::MAX_ITEMS));
+    if ($fields['recentItemsMaxCount'] && ($fields['recentItemsMaxCount'] < 1 || $fields['recentItemsMaxCount'] > CRM_Utils_Recent::MAX_ITEMS)) {
+      $errors['recentItemsMaxCount'] = ts("Illegal stack size. Use values between 1 and %1.", array(1 => CRM_Utils_Recent::MAX_ITEMS));
     }
-    
+
     if (!empty($fields['wkhtmltopdfPath'])) {
       // check and ensure that thi leads to the wkhtmltopdf binary
       // and it is a valid executable binary