From f2ab4d71c16481d461e030efa06f5a6b3bb92e81 Mon Sep 17 00:00:00 2001 From: Justin Freeman Date: Wed, 24 May 2017 19:36:40 +1000 Subject: [PATCH] Refs #4 Fix error 500 on loading the extension page in WordPress --- CRM/Activityreport/Data.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Activityreport/Data.php b/CRM/Activityreport/Data.php index d5c06a8..f8803fb 100644 --- a/CRM/Activityreport/Data.php +++ b/CRM/Activityreport/Data.php @@ -250,10 +250,10 @@ protected static function getActivityFields() { unset($fields['relationship_id']); unset($fields['source_record_id']); if (!empty($fields['activity_type_id'])) { - $fields['activity_type_id']['title'] = t('Activity Type'); + $fields['activity_type_id']['title'] = ts('Activity Type'); } if (!empty($fields['activity_date_time'])) { - $fields['activity_date_time']['title'] = t('Activity Date Time'); + $fields['activity_date_time']['title'] = ts('Activity Date Time'); } $keys = CRM_Activity_DAO_Activity::fieldKeys(); $result = array();