From 4b0ed6a1bd1a1949006d97f66e2f9158816172fc Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 17 Nov 2017 18:46:28 +0100 Subject: [PATCH] Explicit type cast --- Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller.php b/Controller.php index 2d9fbff..b7b4e9f 100644 --- a/Controller.php +++ b/Controller.php @@ -149,7 +149,7 @@ class Controller extends ModuleAbstract implements WebInterface $calendarView->setTemplate('/Modules/Calendar/Theme/Backend/Components/Calendar/mini'); $view->addData('calendar', $calendarView); - $view->setData('account', ProfileMapper::getFor($request->getData('id'), 'account')); + $view->setData('account', ProfileMapper::getFor((int) $request->getData('id'), 'account')); return $view; }