mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 20:26:32 +01:00
Fixed typo giving sesskey error
This commit is contained in:
parent
9bc78f8456
commit
5872b4cca3
@ -106,7 +106,7 @@
|
||||
|
||||
case CHANGE_SITE_LANG: //change site language
|
||||
|
||||
if (confirm_sesskey) {
|
||||
if (confirm_sesskey()) {
|
||||
$langconfig = get_record('config','name','lang');
|
||||
$langconfig->value = $sitelang;
|
||||
if (!empty($sitelang) && update_record('config',$langconfig)){
|
||||
|
Loading…
x
Reference in New Issue
Block a user