From 7cf26f61b246a959b34d9ab86ce00e20267bebdb Mon Sep 17 00:00:00 2001 From: Sem Date: Sun, 12 Aug 2012 02:49:45 +0200 Subject: Set all day events as default when creating an event. --- models/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models') 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) { -- cgit v1.2.3