use $_GET, not $args

darcs-hash:20080606052117-84dde-b9afe0037d9c75382f218f85eefec2a944e42dc6.gz
This commit is contained in:
Evan Prodromou 2008-06-06 01:21:17 -04:00
parent c6f9e7c241
commit 5fb2072bc9

View File

@ -33,7 +33,7 @@ class UserauthorizationAction extends Action {
if (!common_logged_in()) {
# Go log in, and then come back
common_debug('userauthorization.php - saving URL for returnto');
$argsclone = $args;
$argsclone = $_GET;
unset($argsclone['action']);
common_set_returnto(common_local_url('userauthorization', $argsclone));
common_debug('userauthorization.php - redirecting to login');