style fix
[civicrm-core.git] / 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);