Merged ignoresesskey from stable

This commit is contained in:
moodler 2005-05-28 14:03:32 +00:00
parent f941df22a0
commit c6a4e7e592

View File

@ -335,7 +335,7 @@ function clean_param($param, $options) {
function confirm_sesskey($sesskey=NULL) {
global $USER;
if (!empty($USER->ignoresesskey)) {
if (!empty($USER->ignoresesskey) || !empty($CFG->ignoresesskey)) {
return true;
}