mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-02 17:28:40 +00:00
Explicit type cast
This commit is contained in:
parent
5f883a9226
commit
4b0ed6a1bd
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user