diff options
Diffstat (limited to 'apps/tasks/index.php')
-rw-r--r-- | apps/tasks/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tasks/index.php b/apps/tasks/index.php index e2f559dfebc..f0e6c2e4ddb 100644 --- a/apps/tasks/index.php +++ b/apps/tasks/index.php @@ -13,8 +13,8 @@ OC_Util::checkLoggedIn(); OC_Util::checkAppEnabled('tasks'); $calendars = OC_Calendar_Calendar::allCalendars(OC_User::getUser(), true); -if( count($calendars) == 0){ - header('Location: ' . OC_HELPER::linkTo('calendar', 'index.php')); +if( count($calendars) == 0 ) { + header('Location: ' . OC_Helper::linkTo('calendar', 'index.php')); exit; } |