projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf7fd3d
)
CRM-14941 - Multi-lingual break on Event Dashboard
author
atif-shaikh
<shaikh388@gmail.com>
Thu, 3 Jul 2014 08:48:19 +0000
(14:18 +0530)
committer
atif-shaikh
<shaikh388@gmail.com>
Thu, 3 Jul 2014 08:48:19 +0000
(14:18 +0530)
https://issues.civicrm.org/jira/browse/CRM-14941
CRM/Event/BAO/Event.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Event/BAO/Event.php
b/CRM/Event/BAO/Event.php
index dde829e60a0371f4af93792277565c570239bb0a..66d3bd0f799d1b255c1eed1caef333e89c29a059 100644
(file)
--- 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()) {