diff options
author | Andreas Gohr <andi@splitbrain.org> | 2022-11-01 09:04:40 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2022-11-01 09:05:32 +0100 |
commit | adb8672aa6634989c730588d514522b9b8b08c46 (patch) | |
tree | 9f7668cdc3ba9243bff50e9e02791bcb5b0758fe /feed.php | |
parent | fe63bc4a9a4c52682b73b7f8375b141cba4f9c0f (diff) | |
download | dokuwiki-adb8672aa6634989c730588d514522b9b8b08c46.tar.gz dokuwiki-adb8672aa6634989c730588d514522b9b8b08c46.zip |
Fix titles in feeds
The check introduced in 6fd2d4b0 did not work when media was set
explicitly to false.
Diffstat (limited to 'feed.php')
-rw-r--r-- | feed.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -223,7 +223,7 @@ function rss_buildItems(&$rss, &$data, $opt) $item = new FeedItem(); $id = $ditem['id']; - if (!isset($ditem['media'])) { + if (empty($ditem['media'])) { $meta = p_get_metadata($id); } else { $meta = []; |