mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merged ignoresesskey from stable
This commit is contained in:
parent
f941df22a0
commit
c6a4e7e592
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user