aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorKevin Jardine <kevinjardine@yahoo.com>2012-04-13 17:20:49 +0200
committerKevin Jardine <kevinjardine@yahoo.com>2012-04-13 17:20:49 +0200
commit58126731fe957c604c1989d59d41534f8fbcf04b (patch)
tree968436adce7857c7fff693976eba895962744464 /actions
parent7c417a57436497c47d0b950bc97af3a0d49712d8 (diff)
downloadelgg-58126731fe957c604c1989d59d41534f8fbcf04b.tar.gz
elgg-58126731fe957c604c1989d59d41534f8fbcf04b.tar.bz2
added support for event polls (needs the event_poll plugin)
Diffstat (limited to 'actions')
-rw-r--r--actions/event_calendar/edit.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/actions/event_calendar/edit.php b/actions/event_calendar/edit.php
index 0cc956d73..aef1a59cc 100644
--- a/actions/event_calendar/edit.php
+++ b/actions/event_calendar/edit.php
@@ -34,6 +34,10 @@ if ($event) {
add_to_river('river/object/event_calendar/create','create',$user_guid,$event->guid);
system_message(elgg_echo('event_calendar:add_event_response'));
}
+
+ if ($event->schedule_type == 'poll') {
+ forward('event_poll/add/'.$event->guid);
+ }
forward($event->getURL());
} else {