mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-01-25 21:48:41 +00:00
make fixes for new datamapper
This commit is contained in:
parent
38932fb8d0
commit
df3c7be91a
|
|
@ -117,7 +117,7 @@ final class BackendController extends Controller implements DashboardElementInte
|
|||
$head = $response->get('Content')->getData('head');
|
||||
$head->addAsset(AssetType::CSS, '/Modules/Tasks/Theme/Backend/css/styles.css');
|
||||
|
||||
$task = TaskMapper::get((int) $request->getData('id'), RelationType::ALL, null, 5);
|
||||
$task = TaskMapper::get((int) $request->getData('id'), RelationType::ALL, 5);
|
||||
$accountId = $request->getHeader()->getAccount();
|
||||
|
||||
if (!($task->getCreatedBy()->getId() === $accountId
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user