aboutsummaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-08-12 02:49:45 +0200
committerSem <sembrestels@riseup.net>2012-08-12 02:49:45 +0200
commit7cf26f61b246a959b34d9ab86ce00e20267bebdb (patch)
treea92299b88fe1e3df0dd606d400b8f08e794b260b /models
parent6879aa27f768b2284644606e84a8f5ae1a9012bd (diff)
downloadelgg-7cf26f61b246a959b34d9ab86ce00e20267bebdb.tar.gz
elgg-7cf26f61b246a959b34d9ab86ce00e20267bebdb.tar.bz2
Set all day events as default when creating an event.
Diffstat (limited to 'models')
-rw-r--r--models/model.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/model.php b/models/model.php
index c651b0055..69961969c 100644
--- a/models/model.php
+++ b/models/model.php
@@ -1649,7 +1649,7 @@ function event_calendar_prepare_edit_form_vars($event = NULL, $page_type = '', $
if ($page_type == 'schedule') {
$values['schedule_type'] = 'poll';
} else {
- $values['schedule_type'] = 'fixed';
+ $values['schedule_type'] = 'all_day';
}
if ($event) {