Skip to content
Snippets Groups Projects
Commit 1c1d86b9 authored by karailiev's avatar karailiev
Browse files

* immediate language change

parent a3f37969
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,8 @@ class page_action extends tform_actions { ...@@ -84,7 +84,8 @@ class page_action extends tform_actions {
if($_POST['passwort'] != $_POST['passwort2']) { if($_POST['passwort'] != $_POST['passwort2']) {
$app->tform->errorMessage = $app->tform->lng('password_mismatch'); $app->tform->errorMessage = $app->tform->lng('password_mismatch');
} }
$_SESSION['s']['user']['language'] = $_POST['language'];
$_SESSION['s']['language'] = $_POST['language'];
} }
...@@ -93,4 +94,4 @@ class page_action extends tform_actions { ...@@ -93,4 +94,4 @@ class page_action extends tform_actions {
$page = new page_action; $page = new page_action;
$page->onLoad(); $page->onLoad();
?> ?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment