From 9f39aad6afeb9ebdb49381dcf258f0d60da4f7dc Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 15 Aug 2019 21:57:53 +0200 Subject: [PATCH] fix bug with empty tos --- Theme/Backend/task-single.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Theme/Backend/task-single.tpl.php b/Theme/Backend/task-single.tpl.php index d2d2507..4e46eef 100644 --- a/Theme/Backend/task-single.tpl.php +++ b/Theme/Backend/task-single.tpl.php @@ -226,7 +226,7 @@ echo $this->getData('nav')->render(); ?> getTo(); if (\count($tos) > 1 - || $tos[0]->getRelation()->getId() !== $task->getCreatedBy()->getId() + || (\count($tos) > 0 && $tos[0]->getRelation()->getId() !== $task->getCreatedBy()->getId()) ) : ?>