MailingAB.submit - Fix getfields
authorTim Otten <totten@civicrm.org>
Mon, 16 Feb 2015 21:54:42 +0000 (13:54 -0800)
committerTim Otten <totten@civicrm.org>
Wed, 18 Feb 2015 03:13:13 +0000 (19:13 -0800)
api/v3/MailingAB.php

index 5e9a124075176df903570facd016b57b0d5a3934..937de0e63000ce91bd649e76b5c9f2c1744ce5d3 100755 (executable)
@@ -72,10 +72,10 @@ function civicrm_api3_mailing_a_b_get($params) {
  *
  * The metadata is used for setting defaults, documentation & validation.
  *
- * @param array $params
+ * @param array $spec
  *   Array of parameters determined by getfields.
  */
-function _civicrm_api3_mailing_a_b_submit_spec(&$params) {
+function _civicrm_api3_mailing_a_b_submit_spec(&$spec) {
   $mailingFields = CRM_Mailing_DAO_Mailing::fields();
   $mailingAbFields = CRM_Mailing_DAO_MailingAB::fields();
   $spec['id'] = $mailingAbFields['id'];