Skip to content
Browse files

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

…odle into MOODLE_21_STABLE
  • Loading branch information...
2 parents ee7f861 + 620ecfa commit 0d3504b4bb7a172913711f1ee5f18c444a2f5e04 @nebgor nebgor committed Dec 21, 2011
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

0 comments on commit 0d3504b

Please sign in to comment.
Something went wrong with that request. Please try again.