Merged argument fix from stable

This commit is contained in:
moodler 2007-03-11 06:59:53 +00:00
parent 72736a739c
commit 26f329ba61

View File

@ -292,7 +292,7 @@ function isguest($userid=0) {
return false;
}
$context = get_context_instance(CONTEXT_SYSTEM, SITEID);
$context = get_context_instance(CONTEXT_SYSTEM);
return has_capability('moodle/legacy:guest', $context, $userid, false);
}