summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/admin.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-02-10 17:48:39 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-02-10 17:48:39 -0800
commita893b0317d5489552c4c001901ff246e0ec5af1d (patch)
tree2599d66bf3dfd205d7b6fbb56c19b634c267a335 /modules/gallery/controllers/admin.php
parentb42c736607591f8e2bed4aea474ad622b3f7445a (diff)
parent8ef08d20883d9b9aa0b7560ce3bf6da8a6632149 (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/controllers/admin.php')
-rw-r--r--modules/gallery/controllers/admin.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/gallery/controllers/admin.php b/modules/gallery/controllers/admin.php
index 5467e88a..7706e9fc 100644
--- a/modules/gallery/controllers/admin.php
+++ b/modules/gallery/controllers/admin.php
@@ -56,10 +56,8 @@ class Admin_Controller extends Controller {
private static function _prompt_for_reauth($controller_name, $args) {
if (request::method() == "get" && !request::is_ajax()) {
- $url_args = array("admin", $controller_name) + $args;
- $continue_url = join("/", $url_args);
// Avoid anti-phishing protection by passing the url as session variable.
- Session::instance()->set("continue_url", $continue_url);
+ Session::instance()->set("continue_url", url::current(true));
}
url::redirect("reauthenticate");
}