Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'wip-MDL-30541-stable20' of git://github.com/phalacee/mo…

…odle into MOODLE_20_STABLE
  • Loading branch information...
commit b23d738cde3b43e2f22e1b1d2528d5a486a86563 2 parents b562573 + 0b537fd
@nebgor nebgor 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.