From 1a15c775f8b7b5f19ba7ba68730f31a20da402b5 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 24 Mar 2021 09:21:58 +0000 Subject: php8: fix fatal errors --- Zotlabs/Lib/Libsync.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Zotlabs/Lib') 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; -- cgit v1.2.3