Merge branch 'MDL-31599-22' of git://github.com/danpoltawski/moodle into MOODLE_22_STABLE

This commit is contained in:
Aparup Banerjee
2012-08-06 16:44:17 +08:00
+1 -1
View File
@@ -106,7 +106,7 @@ class block_news_items extends block_base {
$tooltiptext = get_string('rsssubscriberssposts','forum');
}
if (!isloggedin()) {
$userid = 0;
$userid = $CFG->siteguest;
} else {
$userid = $USER->id;
}