style fix
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 24 Aug 2015 06:09:06 +0000 (11:39 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 24 Aug 2015 06:09:06 +0000 (11:39 +0530)
CRM/Core/BAO/Block.php

index 320f484e0975c6fa4b3431f427d74aaab342ece9..8bde67027b47daa1a278b0e8f49b2006d6678cc8 100644 (file)
@@ -254,9 +254,9 @@ class CRM_Core_BAO_Block {
       // lets try to add using the previous method to avoid any false creation of existing data.
       foreach ($blockIds as $blockId => $blockValue) {
         if (empty($value['id']) && $blockValue['locationTypeId'] == CRM_Utils_Array::value('location_type_id', $value)) {
-            //assigned id as first come first serve basis
-            $value['id'] = $blockValue['id'];
-            break;
+          //assigned id as first come first serve basis
+          $value['id'] = $blockValue['id'];
+          break;
         }
       }
       $dataExists = self::dataExists(self::$requiredBlockFields[$blockName], $value);