fixed undefined error function

This commit is contained in:
Petr Skoda 2010-09-17 11:08:57 +00:00
parent 067ed170d8
commit 1b62c87dbb

View File

@ -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);