aboutsummaryrefslogtreecommitdiffstats
path: root/include/contact_widgets.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-02-02 17:58:29 +0000
committerMario <mario@mariovavti.com>2022-02-02 17:58:29 +0000
commit1740ae2104ff734edd45f6c0f1273d561cc4a69c (patch)
treed63c6d59f7f673193e9141b48c48bdee2b7fdbe9 /include/contact_widgets.php
parentd8372f84339b29ef05f92d452ec196df32087f4a (diff)
downloadvolse-hubzilla-1740ae2104ff734edd45f6c0f1273d561cc4a69c.tar.gz
volse-hubzilla-1740ae2104ff734edd45f6c0f1273d561cc4a69c.tar.bz2
volse-hubzilla-1740ae2104ff734edd45f6c0f1273d561cc4a69c.zip
more PHP 8.1 deprecated warnings
Diffstat (limited to 'include/contact_widgets.php')
-rw-r--r--include/contact_widgets.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php
index 875a519a5..1ae8b17c5 100644
--- a/include/contact_widgets.php
+++ b/include/contact_widgets.php
@@ -100,6 +100,10 @@ function categories_widget($baseurl,$selected = '') {
\Zotlabs\Daemon\Master::Summon([ 'Cache_query', $key, base64_encode(json_encode($arr)) ]);
}
+ if (!$content) {
+ return EMPTY_STR;
+ }
+
$r = unserialize($content);
$terms = [];