aboutsummaryrefslogtreecommitdiff
path: root/api/debug/dashboard.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/debug/dashboard.php')
-rw-r--r--api/debug/dashboard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/debug/dashboard.php b/api/debug/dashboard.php
index 7a46661..c235ec0 100644
--- a/api/debug/dashboard.php
+++ b/api/debug/dashboard.php
@@ -151,7 +151,7 @@ if ($lastSync): ?>
<td><?= $i++ ?></td>
<td class="max-w-300"><a href="error.php?hash=<?= urlencode($e['hash'] ?? '') ?>" style="color:var(--text);text-decoration:none;" title="View details"><?= htmlspecialchars(substr($e['message'] ?? '', 0, 80)) ?></a></td>
<td><span class="tag"><?= htmlspecialchars($e['type'] ?? '?') ?></span></td>
- <td><?= $e['count'] ?></td>
+ <td><?= (int)($e['count'] ?? 0) ?></td>
</tr>
<?php endforeach; ?>
<?php if (empty($topErrors)): ?>