mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-02-12 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
|
<?php
|
||||||
$tos = $element->getTo();
|
$tos = $element->getTo();
|
||||||
if (\count($tos) > 1
|
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">
|
<section class="box wf-100">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user