Merge remote-tracking branch 'upstream/4.3' into 4.3-master-2013-07-23-17-12-38
[civicrm-core.git] / api / v3 / examples / LocBlockCreateEntities.php
index 545e64b2f1540c95d96c69ce244580c9f69dfed5..a71bf66096557a013d3dcd866250aabc6887725e 100644 (file)
@@ -5,7 +5,6 @@
  */
 function loc_block_createentities_example(){
 $params = array(
-  'version' => 3,
   'email' => array(
       'location_type_id' => 1,
       'email' => 'test2@loc.block',
@@ -22,6 +21,8 @@ $params = array(
       'location_type_id' => 1,
       'street_address' => '987654321',
     ),
+  'version' => 3,
+  'debug' => 0,
 );
 
   $result = civicrm_api( 'loc_block','createEntities',$params );