mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
fixed undefined error function
This commit is contained in:
parent
067ed170d8
commit
1b62c87dbb
@ -28,7 +28,7 @@ require_once($CFG->libdir .'/simplepie/moodle_simplepie.php');
|
||||
|
||||
require_login();
|
||||
if (isguestuser()) {
|
||||
echo_error('guestsarenotallowed');
|
||||
print_error('guestsarenotallowed');
|
||||
}
|
||||
|
||||
$returnurl = optional_param('returnurl', '', PARAM_LOCALURL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user