diff options
author | Mario Vavti <mario@mariovavti.com> | 2024-11-14 12:47:40 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2024-11-14 12:47:40 +0100 |
commit | c9a8914b07827cb1a77aadcabb60f7713b675d6c (patch) | |
tree | c19561ff967ef8fc3a514074b2fed97390ce5e20 /Zotlabs/Daemon | |
parent | b21b9260d91296ea7ea22154455941985d99dc90 (diff) | |
download | volse-hubzilla-c9a8914b07827cb1a77aadcabb60f7713b675d6c.tar.gz volse-hubzilla-c9a8914b07827cb1a77aadcabb60f7713b675d6c.tar.bz2 volse-hubzilla-c9a8914b07827cb1a77aadcabb60f7713b675d6c.zip |
fix some conent import issues
Diffstat (limited to 'Zotlabs/Daemon')
-rw-r--r-- | Zotlabs/Daemon/Content_importer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Daemon/Content_importer.php b/Zotlabs/Daemon/Content_importer.php index 67f1c8e80..80c9feed1 100644 --- a/Zotlabs/Daemon/Content_importer.php +++ b/Zotlabs/Daemon/Content_importer.php @@ -47,9 +47,9 @@ class Content_importer { killme(); } - $j = json_decode($x['body'],true); + $j = json_decode($x['body'], true); - if(! is_array($j['item']) || ! count($j['item'])) { + if($j && empty($j['item'])) { PConfig::Set($channel['channel_id'], 'import', 'content_completed', 1); return; } |