diff options
Diffstat (limited to 'pages/contacts.inc')
-rw-r--r-- | pages/contacts.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/contacts.inc b/pages/contacts.inc index 9239274..b93460a 100644 --- a/pages/contacts.inc +++ b/pages/contacts.inc @@ -93,7 +93,7 @@ uasort($contacts, function ($a, $b) { <?php endif; ?> </span> </div> - <div class="text-muted" style="margin-top: 10px;"><?= $Parsedown->text($contact["description"]) ?></div> + <div class="text-muted" style="margin-top: 10px;"><?= $Parsedown->text($contact["description"] ?? "") ?></div> </div> <div style="display: grid; grid-template-columns: 3fr max-content;"> <span> @@ -112,7 +112,7 @@ uasort($contacts, function ($a, $b) { <a data-bs-toggle="dropdown" style="text-decoration: underline; cursor: pointer;">...</a> <ul class="dropdown-menu"> <?php foreach ($data["copy"] as $action): ?> - <li><a style="cursor: pointer;" class="dropdown-item" onclick="copyToClipboard('<?= base64_encode($action["text"]) ?>');"><?= $action["title"] ?></a></li> + <li><a style="cursor: pointer;" class="dropdown-item" onclick="copyToClipboard('<?= base64_encode($action["text"] ?? "") ?>');"><?= $action["title"] ?></a></li> <?php endforeach; ?> </ul> </div> |