fehlersuche 11

This commit is contained in:
rirat-0
2026-06-03 01:48:00 +02:00
parent 3dcbdbf23c
commit 1c72a03f26
+4 -4
View File
@@ -75,15 +75,15 @@ $resultCount = count($results);
<?php if ($resultCount === 0): ?>
<p>Keine Beiträge zu diesem Suchbegriff gefunden.</p>
<?php else: ?>
<?php foreach ($results as $item): ?>
<?php foreach ($results as $item): ?>
<div class="s-res-item">
<div class="s-res-content">
<h2 class="s-res-item-title">
<a href="index.php?pfad=showArticle&id=<?php echo $item->id; ?>" class="s-res-link">
<?php echo htmlspecialchars($item->title); ?>
<a href="index.php?pfad=showArticle&id=<?php echo $item['id']; ?>" class="s-res-link">
<?php echo htmlspecialchars($item['title']); ?>
</a>
</h2>
<p class="s-res-author">Von: <span class="s-res-author-name"><?php echo htmlspecialchars($item->author); ?></span></p>
<p class="s-res-author">Von: <span class="s-res-author-name"><?php echo htmlspecialchars($item['author']); ?></span></p>
</div>
<div class="s-res-arrow">&rarr;</div>
</div>