aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-27 21:58:26 +0000
committerMario <mario@mariovavti.com>2021-09-27 21:58:26 +0000
commit5eb79bd51efbd69d297bbd6f46ee9d1583ec694e (patch)
tree32f1fce8495644c9ad030dc784dd775752a48853 /Zotlabs/Module
parentd3f5f778a484aadfb4daed26f363e0658f86d9bf (diff)
downloadvolse-hubzilla-5eb79bd51efbd69d297bbd6f46ee9d1583ec694e.tar.gz
volse-hubzilla-5eb79bd51efbd69d297bbd6f46ee9d1583ec694e.tar.bz2
volse-hubzilla-5eb79bd51efbd69d297bbd6f46ee9d1583ec694e.zip
importer daemons: do not call with zap_compat flag and use return instead of kill so that queueworker can go on
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Import.php3
1 files changed, 1 insertions, 2 deletions
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;
}