Skip to content
Snippets Groups Projects
Commit a189fdf5 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 22cfe5ac
No related branches found
No related tags found
No related merge requests found
...@@ -840,7 +840,7 @@ class Calendar_DateController extends AuthenticatedController ...@@ -840,7 +840,7 @@ class Calendar_DateController extends AuthenticatedController
'`calendar_date_id` = :calendar_date_id AND `range_id` = :current_user_id', '`calendar_date_id` = :calendar_date_id AND `range_id` = :current_user_id',
[ [
'calendar_date_id' => $this->date->id, 'calendar_date_id' => $this->date->id,
'current_user_id' => $GLOBALS['user']->id 'current_user_id' => User::findCurrent()->id
] ]
); );
if ($result) { if ($result) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment