From 5c2e4c8efb639261771c3a99a5605be4c71852d4 Mon Sep 17 00:00:00 2001 From: Jaap Jansma <jaap.jansma@civicoop.org> Date: Sat, 8 Jun 2019 15:50:05 +0200 Subject: [PATCH] refactor of field type --- .../FieldOutputHandler/EventRepeatingInfoFieldOutputHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi/DataProcessor/FieldOutputHandler/EventRepeatingInfoFieldOutputHandler.php b/Civi/DataProcessor/FieldOutputHandler/EventRepeatingInfoFieldOutputHandler.php index 304b08d0..a0a4254d 100644 --- a/Civi/DataProcessor/FieldOutputHandler/EventRepeatingInfoFieldOutputHandler.php +++ b/Civi/DataProcessor/FieldOutputHandler/EventRepeatingInfoFieldOutputHandler.php @@ -78,7 +78,7 @@ class EventRepeatingInfoFieldOutputHandler extends AbstractFieldOutputHandler im $event_id = $rawRecord[$this->inputFieldSpec->alias]; $output = new FieldOutput(); if ($event_id) { - $repeat = CRM_Core_BAO_RecurringEntity::getPositionAndCount($event_id, 'civicrm_event'); + $repeat = \CRM_Core_BAO_RecurringEntity::getPositionAndCount($event_id, 'civicrm_event'); if ($repeat) { $output->rawValue = $repeat; $output->formattedValue = E::ts('Repeating (%1 of %2)', array(1 => $repeat[0], 2 => $repeat[1])); -- GitLab