From: Tim Otten Date: Mon, 16 Feb 2015 21:54:42 +0000 (-0800) Subject: MailingAB.submit - Fix getfields X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=481259e3e220206fe43ab03da93fea78c0a3edd5;p=civicrm-core.git MailingAB.submit - Fix getfields --- diff --git a/api/v3/MailingAB.php b/api/v3/MailingAB.php index 5e9a124075..937de0e630 100755 --- a/api/v3/MailingAB.php +++ b/api/v3/MailingAB.php @@ -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'];