Skip to content

Commit 92f9a90

Browse files
author
Ravish Nair
committed
-- CRM-13374 fix
---------------------------------------- * CRM-13374: Select Event invalidation http://issues.civicrm.org/jira/browse/CRM-13374
1 parent 1509e1c commit 92f9a90

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

site/elements/civievents.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ protected function getInput() {
5555
$params = array(
5656
'version' => '3',
5757
'is_active' => 1,
58-
'isCurrent' => 1,
5958
'return.title' => 1,
6059
'return.id' => 1,
6160
'return.end_date' => 1,
@@ -66,11 +65,7 @@ protected function getInput() {
6665
$options = array();
6766
$options[] = JHTML::_('select.option', '', JText::_('- Select Event -'));
6867
foreach ($events['values'] as $event) {
69-
if (strtotime($event['start_date']) >= strtotime($currentdate) ||
70-
strtotime($event['end_date']) >= strtotime($currentdate)
71-
) {
72-
$options[] = JHTML::_('select.option', $event['id'], $event['event_title']);
73-
}
68+
$options[] = JHTML::_('select.option', $event['id'], $event['event_title']);
7469
}
7570

7671
return JHTML::_('select.genericlist', $options, $name, NULL, 'value', 'text', $value);

0 commit comments

Comments
 (0)