From 5fb2072bc9158373f079a5e8997d195d0220e038 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 6 Jun 2008 01:21:17 -0400 Subject: use $_GET, not $args darcs-hash:20080606052117-84dde-b9afe0037d9c75382f218f85eefec2a944e42dc6.gz --- actions/userauthorization.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions') diff --git a/actions/userauthorization.php b/actions/userauthorization.php index b819b7d3a..eb93b6fd3 100644 --- a/actions/userauthorization.php +++ b/actions/userauthorization.php @@ -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'); -- cgit v1.2.3-54-g00ecf