aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libsync.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-24 09:21:58 +0000
committerMario <mario@mariovavti.com>2021-03-24 09:21:58 +0000
commit1a15c775f8b7b5f19ba7ba68730f31a20da402b5 (patch)
treecabd18d5f8e29d1a053c713c038ccb5964879132 /Zotlabs/Lib/Libsync.php
parent2d716b74b9a879cbeaa8a3208dd6be2516b21fe7 (diff)
downloadvolse-hubzilla-1a15c775f8b7b5f19ba7ba68730f31a20da402b5.tar.gz
volse-hubzilla-1a15c775f8b7b5f19ba7ba68730f31a20da402b5.tar.bz2
volse-hubzilla-1a15c775f8b7b5f19ba7ba68730f31a20da402b5.zip
php8: fix fatal errors
Diffstat (limited to 'Zotlabs/Lib/Libsync.php')
-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;