From 1aefc633f961ebe84d4bd576618166ae4ba871bd Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 20 Apr 2020 07:23:17 +0200 Subject: [PATCH] fix adding new calendar event --- CHANGELOG | 1 + out/out.AddEvent.php | 1 + views/bootstrap/class.Bootstrap.php | 2 ++ 3 files changed, 4 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 649fd4685..f1aa4721b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -9,6 +9,7 @@ - fix export of search results, headers of excel file can be translated - fix arcordeon for folder filters on search page - fix upload from dropfolder +- fix adding new calendar event -------------------------------------------------------------------------------- Changes in version 6.0.8 diff --git a/out/out.AddEvent.php b/out/out.AddEvent.php index 47fc29871..72333fcd4 100644 --- a/out/out.AddEvent.php +++ b/out/out.AddEvent.php @@ -39,6 +39,7 @@ if ($user->isGuest()) { } if($view) { + $view->setParam('accessobject', $accessop); $view->setParam('strictformcheck', $settings->_strictFormCheck); $view($_GET); exit; diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 83a5a1f62..dcbafba8f 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -899,6 +899,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; } /* }}} */ private function calendarOldNavigationBar($d){ /* {{{ */ + $accessobject = $this->params['accessobject']; $ds="&day=".$d[0]."&month=".$d[1]."&year=".$d[2]; echo "".getMLText("calendar")."\n"; echo "
\n"; @@ -916,6 +917,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; } /* }}} */ private function calendarNavigationBar($d){ /* {{{ */ + $accessobject = $this->params['accessobject']; echo "".getMLText("calendar")."\n"; echo "
\n"; echo "
    \n";