Merge pull request #9789 from fliespl/patch-2
[civicrm-core.git] / api / v3 / RecurringEntity.php
index eba9879c6bf477f41932245c0136c37c0a745ad4..076a0efc3087d02ac24e27a67d7e293b931ae2d6 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016                                |
+ | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -82,6 +82,7 @@ function _civicrm_api3_recurring_entity_create_spec(&$params) {
     'civicrm_event' => 'civicrm_event',
     'civicrm_activity' => 'civicrm_activity',
   );
+  $params['entity_table']['api.required'] = 1;
 }
 
 /**