diff --git a/views/statistics/widgets.php b/views/statistics/widgets.php
index 2424ae6b0c42284026c0a9695b1ed88029d3b4df..44f338892b36ca7f812bb038c674ab6104fdbcd1 100644
--- a/views/statistics/widgets.php
+++ b/views/statistics/widgets.php
@@ -43,14 +43,14 @@ $PERMS = [
             <td><?= htmlReady($entry['name']) ?></td>
             <td>
             <? if ($entry['enabled']): ?>
-                <?= Icon::create('checkbox-checked', 'info')->asImg(tooltip2(_('Ja'))) ?>
+                <?= Icon::create('checkbox-checked', Icon::ROLE_INFO)->asImg(tooltip2(_('Ja'))) ?>
             <? else: ?>
-                <?= Icon::create('checkbox-unchecked', 'info')->asImg(tooltip2(_('Nein'))) ?>
+                <?= Icon::create('checkbox-unchecked', Icon::ROLE_INFO)->asImg(tooltip2(_('Nein'))) ?>
             <? endif; ?>
             </td>
         <? foreach (array_keys($PERMS) as $perm): ?>
-            <td <? if (!$entry[$perm]) echo 'class="empty"'; ?>>
-                <?= $numberReady($entry[$perm]) ?>
+            <td <? if (empty($entry[$perm])) echo 'class="empty"'; ?>>
+                <?= $numberReady($entry[$perm] ?? 0) ?>
             </td>
         <? endforeach; ?>
             <td>