From: atif-shaikh Date: Thu, 3 Jul 2014 08:48:19 +0000 (+0530) Subject: CRM-14941 - Multi-lingual break on Event Dashboard X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=29b6b1dd9c0b979f4ec1d70dc1aca9d85c49b035;p=civicrm-core.git CRM-14941 - Multi-lingual break on Event Dashboard https://issues.civicrm.org/jira/browse/CRM-14941 --- 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()) {