aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/feed.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2022-11-01 09:04:40 +0100
committerAndreas Gohr <andi@splitbrain.org>2022-11-01 09:05:32 +0100
commitadb8672aa6634989c730588d514522b9b8b08c46 (patch)
tree9f7668cdc3ba9243bff50e9e02791bcb5b0758fe /feed.php
parentfe63bc4a9a4c52682b73b7f8375b141cba4f9c0f (diff)
downloaddokuwiki-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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/feed.php b/feed.php
index 057aebfbb..a389f1442 100644
--- a/feed.php
+++ b/feed.php
@@ -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 = [];