diff options
author | Mario <mario@mariovavti.com> | 2023-01-13 20:01:05 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-01-13 20:01:05 +0000 |
commit | 2805520d1bcb2640fc079d54f5f230f7b87d1f84 (patch) | |
tree | 43b3e5bb7c71522d04560015478765a7b763a5fe /include/feedutils.php | |
parent | f6d940606350eb8685c278af6d87f3a0b8c0f5e5 (diff) | |
parent | fb7ca18820e7618325dded78a3c3a464dd01b391 (diff) | |
download | volse-hubzilla-8.0.tar.gz volse-hubzilla-8.0.tar.bz2 volse-hubzilla-8.0.zip |
Merge remote-tracking branch 'origin/8.0RC'8.0
Diffstat (limited to 'include/feedutils.php')
-rw-r--r-- | include/feedutils.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/feedutils.php b/include/feedutils.php index eea908fe8..43b95b966 100644 --- a/include/feedutils.php +++ b/include/feedutils.php @@ -2007,9 +2007,9 @@ function atom_entry($item, $type, $author, $owner, $comment = false, $cid = 0, $ if($enclosures) { foreach($enclosures as $enc) { $o .= '<link rel="enclosure" ' - . (($enc['href']) ? 'href="' . $enc['href'] . '" ' : '') - . (($enc['length']) ? 'length="' . $enc['length'] . '" ' : '') - . (($enc['type']) ? 'type="' . $enc['type'] . '" ' : '') + . ((isset($enc['href']) && $enc['href']) ? 'href="' . $enc['href'] . '" ' : '') + . ((isset($enc['length']) && $enc['length']) ? 'length="' . $enc['length'] . '" ' : '') + . ((isset($enc['type']) && $enc['type']) ? 'type="' . $enc['type'] . '" ' : '') . ' />' . "\r\n"; } } |