aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/event_calendar/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/forms/event_calendar/edit.php')
-rw-r--r--views/default/forms/event_calendar/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/forms/event_calendar/edit.php b/views/default/forms/event_calendar/edit.php
index 2ba744fc4..c2210c5f8 100644
--- a/views/default/forms/event_calendar/edit.php
+++ b/views/default/forms/event_calendar/edit.php
@@ -7,7 +7,7 @@ $schedule_options = array(
elgg_echo('event_calendar:schedule_type:fixed')=>'fixed',
);
-if (elgg_plugin_exists('event_poll')) {
+if (elgg_is_active_plugin('event_poll')) {
$schedule_options = array_merge(array(elgg_echo('event_calendar:schedule_type:poll')=>'poll'),$schedule_options);
}