Compare commits

..

2 Commits

Author SHA1 Message Date
niklas.ortmann aa3e7c2f36 Update showCategory.php 2026-06-03 19:43:41 +02:00
niklas.ortmann 46cd524f70 Update showCategory-controller.php 2026-06-03 19:43:40 +02:00
2 changed files with 3 additions and 4 deletions
-1
View File
@@ -22,7 +22,6 @@ include_once "php/controller/showCategory-controller.php";
<div class="s-res-arrow">&rarr;</div> <div class="s-res-arrow">&rarr;</div>
</div> </div>
<?php endforeach; ?> <?php endforeach; ?>
<?php <?php
else: ?> else: ?>
<p> Es sind noch keine Beiträge in dieser Kategorie enthalten.</p> <p> Es sind noch keine Beiträge in dieser Kategorie enthalten.</p>
+3 -3
View File
@@ -1,7 +1,7 @@
<?php <?php
require_once 'model/LocalArticleManager.php'; require_once 'php/model/LocalArticleManager.php';
require_once 'model/ArticleManager.php'; require_once 'php/model/ArticleManager.php';
require_once 'validator/article-validator.php'; require_once 'php/validator/article-validator.php';
if (isset($_GET["category"]) && !empty($_GET["category"]) && articleCategoryValidator($_GET["category"])){ if (isset($_GET["category"]) && !empty($_GET["category"]) && articleCategoryValidator($_GET["category"])){
$category = $_GET["category"]; $category = $_GET["category"];