Permalink
Browse files

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

…nto MOODLE_23_STABLE
  • Loading branch information...
2 parents b42abe0 + 709efab commit 1e778228a89defc89158c2dc4fd38af8b5687f61 @nebgor nebgor committed Aug 6, 2012
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;
}

0 comments on commit 1e77822

Please sign in to comment.