Skip to content

Commit 1c1d86b

Browse files
author
karailiev
committed
* immediate language change
1 parent a3f3796 commit 1c1d86b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

interface/web/tools/user_settings.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ function onBeforeUpdate() {
8484
if($_POST['passwort'] != $_POST['passwort2']) {
8585
$app->tform->errorMessage = $app->tform->lng('password_mismatch');
8686
}
87-
87+
$_SESSION['s']['user']['language'] = $_POST['language'];
88+
$_SESSION['s']['language'] = $_POST['language'];
8889
}
8990

9091

@@ -93,4 +94,4 @@ function onBeforeUpdate() {
9394
$page = new page_action;
9495
$page->onLoad();
9596

96-
?>
97+
?>

0 commit comments

Comments
 (0)