From 29b6b1dd9c0b979f4ec1d70dc1aca9d85c49b035 Mon Sep 17 00:00:00 2001 From: atif-shaikh Date: Thu, 3 Jul 2014 14:18:19 +0530 Subject: [PATCH] CRM-14941 - Multi-lingual break on Event Dashboard https://issues.civicrm.org/jira/browse/CRM-14941 --- CRM/Event/BAO/Event.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index dde829e60a..66d3bd0f79 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -362,7 +362,9 @@ WHERE civicrm_event.is_active = 1 AND } //get the participant status type values. - $query = 'SELECT id, name, label, class FROM civicrm_participant_status_type'; + $cpstObject = new CRM_Event_DAO_ParticipantStatusType(); + $cpst = $cpstObject->getTableName(); + $query = "SELECT id, name, label, class FROM $cpst"; $status = CRM_Core_DAO::executeQuery($query); $statusValues = array(); while ($status->fetch()) { -- 2.25.1