MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too
This commit is contained in:
+2
-2
@@ -9,8 +9,8 @@ function blog_rss_print_link($filtertype, $filterselect, $tagid=0, $tooltiptext=
|
||||
|
||||
global $CFG, $USER, $OUTPUT;
|
||||
|
||||
if (empty($USER->id)) {
|
||||
$userid = 1;
|
||||
if (!isloggedin()) {
|
||||
$userid = $CFG->siteguest;
|
||||
} else {
|
||||
$userid = $USER->id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user