Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-31599-23' of git://github.com/danpoltawski/moodle i…

…nto MOODLE_23_STABLE
  • Loading branch information...
commit 1e778228a89defc89158c2dc4fd38af8b5687f61 2 parents b42abe0 + 709efab
@nebgor nebgor authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  blocks/news_items/block_news_items.php
View
2  blocks/news_items/block_news_items.php
@@ -106,7 +106,7 @@ function get_content() {
$tooltiptext = get_string('rsssubscriberssposts','forum');
}
if (!isloggedin()) {
- $userid = 0;
+ $userid = $CFG->siteguest;
} else {
$userid = $USER->id;
}
Please sign in to comment.
Something went wrong with that request. Please try again.