aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Controllers')
-rw-r--r--h-source/Application/Controllers/UsersController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/h-source/Application/Controllers/UsersController.php b/h-source/Application/Controllers/UsersController.php
index 2bbc5e3..1249647 100644
--- a/h-source/Application/Controllers/UsersController.php
+++ b/h-source/Application/Controllers/UsersController.php
@@ -79,7 +79,7 @@ class UsersController extends BaseController
switch($choice) {
case 'logged':
- $this->redirect('home/index',3,'You are already logged...');
+ $this->redirect('home/index/'.Lang::$current,3,'You are already logged...');
break;
case 'accepted':
if (isset($type))
@@ -90,7 +90,7 @@ class UsersController extends BaseController
}
else
{
- $this->redirect('home/index',0);
+ $this->redirect('home/index/'.Lang::$current,0);
}
break;
case 'login-error':
@@ -117,7 +117,7 @@ class UsersController extends BaseController
}
else if ($res === 'was-logged')
{
- $this->redirect('home',0);
+ $this->redirect('home/index/'.Lang::$current,0);
}
else if ($res === 'error')
{