aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-24 09:21:58 +0000
committerMario <mario@mariovavti.com>2021-03-24 11:39:19 +0100
commit6d5f98072df1c2937723d2accd099f95a9d773a4 (patch)
tree3cf1bc1e2d132f793d79faf0fe4180103a3bc91a /Zotlabs
parentcc9fd4f4a47cdcfec022690fa657813a282ff7d5 (diff)
downloadvolse-hubzilla-6d5f98072df1c2937723d2accd099f95a9d773a4.tar.gz
volse-hubzilla-6d5f98072df1c2937723d2accd099f95a9d773a4.tar.bz2
volse-hubzilla-6d5f98072df1c2937723d2accd099f95a9d773a4.zip
php8: fix fatal errors
(cherry picked from commit 1a15c775f8b7b5f19ba7ba68730f31a20da402b5)
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Libsync.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Libsync.php b/Zotlabs/Lib/Libsync.php
index 7e97e4c70..5455aa2ea 100644
--- a/Zotlabs/Lib/Libsync.php
+++ b/Zotlabs/Lib/Libsync.php
@@ -716,6 +716,9 @@ class Libsync {
dbesc($sender['hash'])
);
+ if(!$xisting)
+ $xisting = [];
+
// See if a primary is specified
$has_primary = false;