From 547c6b1b80ae2539ea9e07bf207a40a75b131bff Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 6 Dec 2020 17:43:02 +0100 Subject: [PATCH] fix tpl --- Theme/Backend/qa-question.tpl.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Theme/Backend/qa-question.tpl.php b/Theme/Backend/qa-question.tpl.php index b070c19..eee588d 100755 --- a/Theme/Backend/qa-question.tpl.php +++ b/Theme/Backend/qa-question.tpl.php @@ -28,7 +28,9 @@ echo $this->getData('nav')->render(); printHtml($question->question); ?>
+ createdBy->image !== null) : ?> <?= $this->getHtml('AccountImage', '0', '0'); ?> +
@@ -39,7 +41,7 @@ echo $this->getData('nav')->render();
- printHtml($answer->getAnswer()); ?>printHtml($answer->getCreatedAt()->format('Y-m-d')); ?>printHtml($answer->createdBy->getId()); ?>printHtml($answer->getStatus()); ?>printHtml($answer->isAccepted()); ?> + printHtml($answer->getAnswer()); ?>printHtml($answer->createdAt->format('Y-m-d')); ?>createdBy->getId(); ?>getStatus(); ?>printHtml((string) $answer->isAccepted()); ?>