aboutsummaryrefslogtreecommitdiffstats
path: root/include/feedutils.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-11-10 10:48:24 +0000
committerMario <mario@mariovavti.com>2022-11-10 10:48:24 +0000
commit30ddee65a4b4cc52a5cfb6cef77ac43b9ad7f299 (patch)
tree3c205b3a5e6252564cc06c134cc47f7ec1881525 /include/feedutils.php
parent63dc8d7fc4092d7bb527a46149d211c9d135a7f0 (diff)
downloadvolse-hubzilla-30ddee65a4b4cc52a5cfb6cef77ac43b9ad7f299.tar.gz
volse-hubzilla-30ddee65a4b4cc52a5cfb6cef77ac43b9ad7f299.tar.bz2
volse-hubzilla-30ddee65a4b4cc52a5cfb6cef77ac43b9ad7f299.zip
fix wrong array key and undefined array key
Diffstat (limited to 'include/feedutils.php')
-rw-r--r--include/feedutils.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/feedutils.php b/include/feedutils.php
index 814e9c163..eea908fe8 100644
--- a/include/feedutils.php
+++ b/include/feedutils.php
@@ -1904,7 +1904,7 @@ function atom_entry($item, $type, $author, $owner, $comment = false, $cid = 0, $
if(! $item['parent'])
return;
- if($item['deleted'])
+ if($item['item_deleted'])
return '<at:deleted-entry ref="' . xmlify($item['mid']) . '" when="' . xmlify(datetime_convert('UTC','UTC',$item['edited'] . '+00:00',ATOM_TIME)) . '" />' . "\r\n";
create_export_photo_body($item);
@@ -2024,7 +2024,7 @@ function atom_entry($item, $type, $author, $owner, $comment = false, $cid = 0, $
}
}
- if($item['term']) {
+ if (isset($item['term']) && $item['term']) {
foreach($item['term'] as $term) {
$scheme = '';
$label = '';