Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f89a83b
)
MDL-30541 - Blog - Fixing the context for RSS Feed headers on the single blog entry...
author
Jason Fowler
<phalacee@gmail.com>
Fri, 9 Dec 2011 04:01:02 +0000
(12:01 +0800)
committer
Jason Fowler
<phalacee@gmail.com>
Wed, 21 Dec 2011 01:30:26 +0000
(09:30 +0800)
blog/index.php
patch
|
blob
|
blame
|
history
diff --git
a/blog/index.php
b/blog/index.php
index
2ba9884
..
e1c0c22
100644
(file)
--- a/
blog/index.php
+++ b/
blog/index.php
@@
-212,9
+212,13
@@
if (empty($entryid) && empty($modid) && empty($groupid)) {
}
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