mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Changed some sesskey behaviours SC#73 (admin part)
This commit is contained in:
parent
010ec024b8
commit
4e27a2b92e
4 changed files with 11 additions and 11 deletions
|
@ -13,13 +13,13 @@
|
|||
error("Site isn't defined!");
|
||||
}
|
||||
|
||||
if (!confirm_sesskey()) {
|
||||
error(get_string('confirmsesskeybad', 'error'));
|
||||
}
|
||||
|
||||
/// If data submitted, then process and store.
|
||||
|
||||
if ($config = data_submitted()) {
|
||||
if ($config = data_submitted()) {
|
||||
|
||||
if (!confirm_sesskey()) {
|
||||
error(get_string('confirmsesskeybad', 'error'));
|
||||
}
|
||||
print_header();
|
||||
foreach ($config as $name => $value) {
|
||||
set_config($name, $value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue