diff options
author | RaindropsSys <contact@minteck.org> | 2023-06-02 16:31:02 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-06-02 16:31:02 +0200 |
commit | 48afc99d05c7bcd54231f340635f5102a03fbda4 (patch) | |
tree | bdad312490ee42b84dde71d5c49266f1b7fc792e /pages/contacts.inc | |
parent | 82ef2e6f4fadb6ed721a0de79ec4d2fcfdc3f426 (diff) | |
download | pluralconnect-48afc99d05c7bcd54231f340635f5102a03fbda4.tar.gz pluralconnect-48afc99d05c7bcd54231f340635f5102a03fbda4.tar.bz2 pluralconnect-48afc99d05c7bcd54231f340635f5102a03fbda4.zip |
Updated 7 files, added error.php and deleted 39 files (automated)
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> |