From 7a42e7639f72ab57d7916399cd18ded06185d262 Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 31 Aug 2017 10:25:43 -0600 Subject: [PATCH] Avoid fatal error in automatic preference update --- calendar/inc/class.calendar_bo.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_bo.inc.php b/calendar/inc/class.calendar_bo.inc.php index ae731dadb5..96438ddbf2 100644 --- a/calendar/inc/class.calendar_bo.inc.php +++ b/calendar/inc/class.calendar_bo.inc.php @@ -226,7 +226,7 @@ class calendar_bo // run 16.1.002 --> .003 update automatic, to not show user time-grid in month-view, if admin did not run the update if ($GLOBALS['egw_info']['apps']['calendar']['version'] == '16.1.002') { - include(EGW_SERVER_ROOT.'/calendar/setup/tables_update.inc.php'); + include_once(EGW_SERVER_ROOT.'/calendar/setup/tables_update.inc.php'); if (function_exists('calendar_upgrade16_1_002')) {