diff options
author | Kevin Jardine <kevinjardine@yahoo.com> | 2012-04-13 17:20:49 +0200 |
---|---|---|
committer | Kevin Jardine <kevinjardine@yahoo.com> | 2012-04-13 17:20:49 +0200 |
commit | 58126731fe957c604c1989d59d41534f8fbcf04b (patch) | |
tree | 968436adce7857c7fff693976eba895962744464 /models | |
parent | 7c417a57436497c47d0b950bc97af3a0d49712d8 (diff) | |
download | elgg-58126731fe957c604c1989d59d41534f8fbcf04b.tar.gz elgg-58126731fe957c604c1989d59d41534f8fbcf04b.tar.bz2 |
added support for event polls (needs the event_poll plugin)
Diffstat (limited to 'models')
-rw-r--r-- | models/model.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/model.php b/models/model.php index b29ad2ad7..6fe54ab3d 100644 --- a/models/model.php +++ b/models/model.php @@ -55,7 +55,7 @@ function event_calendar_set_event_from_form($event_guid,$group_guid) { $required_fields[] = 'spots'; } } else { - $required_fields = array('title','start_date'); + $required_fields = array('title'); } if ($event_guid) { @@ -2118,4 +2118,4 @@ function event_calendar_flatten_event_structure($events) { } } return $flattened; -}
\ No newline at end of file +} |