summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/l10n_client.php
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-08-30 22:33:12 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-08-30 22:33:12 -0600
commitce733e0f481e34f213d159cbb05dd6377cec4f54 (patch)
tree046818b9a56014849ee5a8054f739862cb115f68 /modules/gallery/controllers/l10n_client.php
parent93b542ccd8a64bdd037d0e4824be06cb9fe6ad49 (diff)
parent7015948357f91e79bb10595cd7c6bc2513d0863e (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/controllers/l10n_client.php')
-rw-r--r--modules/gallery/controllers/l10n_client.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/gallery/controllers/l10n_client.php b/modules/gallery/controllers/l10n_client.php
index 0775791e..16d39024 100644
--- a/modules/gallery/controllers/l10n_client.php
+++ b/modules/gallery/controllers/l10n_client.php
@@ -90,13 +90,13 @@ class L10n_Client_Controller extends Controller {
}
$session = Session::instance();
- $l10n_mode = $session->get("l10n_mode", false);
+ $l10n_mode = $session->get("l10n_mode", false);
$session->set("l10n_mode", !$l10n_mode);
$redirect_url = "admin/languages";
- if (!$l10n_mode) {
- $redirect_url .= "#l10n-client";
- }
+ if (!$l10n_mode) {
+ $redirect_url .= "#l10n-client";
+ }
url::redirect($redirect_url);
}