mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merge branch 'MDL-31599' of git://github.com/danpoltawski/moodle
This commit is contained in:
commit
fb87c4c96c
@ -104,7 +104,7 @@ class block_news_items extends block_base {
|
||||
$tooltiptext = get_string('rsssubscriberssposts','forum');
|
||||
}
|
||||
if (!isloggedin()) {
|
||||
$userid = 0;
|
||||
$userid = $CFG->siteguest;
|
||||
} else {
|
||||
$userid = $USER->id;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user