mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-01-23 04:38:41 +00:00
fix bug with empty tos
This commit is contained in:
parent
78547922f3
commit
9f39aad6af
|
|
@ -226,7 +226,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<?php
|
||||
$tos = $element->getTo();
|
||||
if (\count($tos) > 1
|
||||
|| $tos[0]->getRelation()->getId() !== $task->getCreatedBy()->getId()
|
||||
|| (\count($tos) > 0 && $tos[0]->getRelation()->getId() !== $task->getCreatedBy()->getId())
|
||||
) : ?>
|
||||
<section class="box wf-100">
|
||||
<div class="inner">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user