mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-01-29 15:28:41 +00:00
fix profile view with getFor
This commit is contained in:
parent
f417fcad82
commit
4a1db05da0
|
|
@ -118,7 +118,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
$view->setTemplate('/Modules/Profile/Theme/Backend/profile-single');
|
||||
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1000301001, $request, $response));
|
||||
|
||||
$view->setData('account', ProfileMapper::get($request->getData('id')));
|
||||
$view->setData('account', ProfileMapper::getFor($request->getData('id'), 'account'));
|
||||
|
||||
return $view;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user