aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPhy <git@phy25.com>2020-03-09 17:20:19 -0400
committerPhy <git@phy25.com>2020-03-09 17:21:22 -0400
commit8de6bd9892cd224fd1b42bcede36ffffc8b08a62 (patch)
tree907b1cf8f50f7b55a284c6136c06993f293ea8fb
parent7b299f22af679ba69fe0addbd6aaa8b37deffbac (diff)
downloaddokuwiki-8de6bd9892cd224fd1b42bcede36ffffc8b08a62.tar.gz
dokuwiki-8de6bd9892cd224fd1b42bcede36ffffc8b08a62.zip
initialize rssRecentChanges flag to 0
-rw-r--r--feed.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/feed.php b/feed.php
index 2925c3ee7..2731ddb03 100644
--- a/feed.php
+++ b/feed.php
@@ -466,8 +466,8 @@ function rss_buildItems(&$rss, &$data, $opt) {
*/
function rssRecentChanges($opt) {
global $conf;
- //$flags = RECENTS_SKIP_DELETED;
- if(!$conf['rss_show_deleted']) $flags = RECENTS_SKIP_DELETED;
+ $flags = 0;
+ if(!$conf['rss_show_deleted']) $flags += RECENTS_SKIP_DELETED;
if(!$opt['show_minor']) $flags += RECENTS_SKIP_MINORS;
if($opt['content_type'] == 'media' && $conf['mediarevisions']) $flags += RECENTS_MEDIA_CHANGES;
if($opt['content_type'] == 'both' && $conf['mediarevisions']) $flags += RECENTS_MEDIA_PAGES_MIXED;