Update showCategory.php

This commit is contained in:
2026-07-17 17:13:07 +02:00
parent f77f09ec6f
commit a5f02c9a6c
+1 -1
View File
@@ -28,7 +28,7 @@ include_once "php/controller/showCategory-controller.php";
von <span class="cat-view-author-name"><?php echo (isset($article) && !empty($article->getAuthor())) ? htmlspecialchars($article->getAuthor()) : 'Anonym'; ?></span>
</p>
<span class="cat-view-likes">
&#x2764; <?php echo (isset($article) && !empty($article->getLikes())) ? htmlspecialchars($article->getLikes()) : '0'; ?>
❤️ <?php echo (isset($article) && !empty($article->getLikes())) ? htmlspecialchars($article->getLikes()) : '0'; ?>
</span>
</div>