From 5eb79bd51efbd69d297bbd6f46ee9d1583ec694e Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 27 Sep 2021 21:58:26 +0000 Subject: importer daemons: do not call with zap_compat flag and use return instead of kill so that queueworker can go on --- Zotlabs/Module/Import.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Zotlabs/Module/Import.php') diff --git a/Zotlabs/Module/Import.php b/Zotlabs/Module/Import.php index 6324b841d..ecbcc3034 100644 --- a/Zotlabs/Module/Import.php +++ b/Zotlabs/Module/Import.php @@ -246,7 +246,6 @@ class Import extends Controller { logger('import step 4'); - // import xchans and contact photos if (array_key_exists('channel', $data) && $seize) { @@ -552,7 +551,7 @@ class Import extends Controller { break; } - if (! ($j['item'] || count($j['item']))) { + if (! is_array($j['item']) || ! count($j['item'])) { break; } -- cgit v1.2.3