Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-30541 - Blog - Fixing the context for RSS Feed headers on the sin…

…gle blog entry pages
  • Loading branch information...
commit 0b537fd64fa17e7e95afb05e94601ca28d46e3ed 1 parent bdfd90b
@jsnfwlr jsnfwlr authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 blog/index.php
View
8 blog/index.php
@@ -212,9 +212,13 @@
}
if ($CFG->enablerssfeeds) {
- $rsscontext = $filtertype = $thingid = null;
+ $rsscontext = null;
+ $filtertype = null;
+ $thingid = null;
list($thingid, $rsscontext, $filtertype) = blog_rss_get_params($blogheaders['filters']);
-
+ if (empty($rsscontext)) {
+ $rsscontext = get_system_context();
+ }
$rsstitle = $blogheaders['heading'];
//check we haven't started output by outputting an error message
Please sign in to comment.
Something went wrong with that request. Please try again.