From cbb31dcf04e00f705a82ffb308d37b8c7035627d Mon Sep 17 00:00:00 2001 From: Edsel <edsel.lopez@jmaconsulting.biz> Date: Tue, 18 Nov 2014 13:20:00 +0530 Subject: [PATCH] AMGA-13 Fix for custom field --- api/v3/Job/CreateEvents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/Job/CreateEvents.php b/api/v3/Job/CreateEvents.php index 615684a..c46604b 100644 --- a/api/v3/Job/CreateEvents.php +++ b/api/v3/Job/CreateEvents.php @@ -71,11 +71,11 @@ function civicrm_api3_job_create_events($params) { 'EvaluationsPublished' => 'published', 'Full' => 'closed', ); - $regReq = ''; $country = array_flip(CRM_Core_PseudoConstant::country(FALSE, FALSE)); $state = array_flip(array_filter(CRM_Core_PseudoConstant::stateProvinceAbbreviation(FALSE, FALSE))); while($row = mysqli_fetch_assoc($result)) { $sql = CRM_Core_DAO::singleValueQuery("SELECT id FROM civicrm_event WHERE title = '{$row['program_code']}'"); + $regReq = ''; // Create the location $loc = array( 'address' => array( -- GitLab