From b8696654b0dca378e2ff329d43d5b59ba1e6c231 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Thu, 26 Dec 2013 17:56:14 -0800 Subject: [PATCH] CRM-14025 committing PR-2247 to 4.4 branch as intended. ---------------------------------------- * CRM-14025: Manage registration pages don't call postProcess hook http://issues.civicrm.org/jira/browse/CRM-14025 --- CRM/Event/Form/ManageEvent.php | 2 +- api/v3/UFField.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Event/Form/ManageEvent.php b/CRM/Event/Form/ManageEvent.php index ca2ac55d6a..acab1e709c 100644 --- a/CRM/Event/Form/ManageEvent.php +++ b/CRM/Event/Form/ManageEvent.php @@ -350,7 +350,7 @@ class CRM_Event_Form_ManageEvent extends CRM_Core_Form { CRM_Event_BAO_Event::updateParticipantCampaignID($eventID, $newCampaignID); } } - + $this->postProcessHook(); if ($this->controller->getButtonName('submit') == "_qf_{$className}_upload_done") { if ($this->_isTemplate) { CRM_Utils_System::redirect(CRM_Utils_System::url('civicrm/admin/eventTemplate', diff --git a/api/v3/UFField.php b/api/v3/UFField.php index 1bf67479be..72d48e4c1d 100644 --- a/api/v3/UFField.php +++ b/api/v3/UFField.php @@ -77,7 +77,7 @@ function civicrm_api3_uf_field_create($params) { $fieldId = CRM_Utils_Array::value('id', $params); if (!empty($fieldId)) { - $UFField = new CRM_core_BAO_UFField(); + $UFField = new CRM_Core_BAO_UFField(); $UFField->id = $fieldId; if ($UFField->find(TRUE)) { $ids['uf_group'] = $UFField->uf_group_id; -- 2.25.1