Just fixed an outdated parameter

This commit is contained in:
moodler
2007-03-11 06:58:51 +00:00
parent 321a287501
commit a080d1ec16
+1 -1
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);
}