]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use $_GET, not $args
authorEvan Prodromou <evan@prodromou.name>
Fri, 6 Jun 2008 05:21:17 +0000 (01:21 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 6 Jun 2008 05:21:17 +0000 (01:21 -0400)
darcs-hash:20080606052117-84dde-b9afe0037d9c75382f218f85eefec2a944e42dc6.gz

actions/userauthorization.php

index b819b7d3a1bd84c7ff48872a9a00386104d4455d..eb93b6fd301d06a77e3beb8b9bac16eb328a5949 100644 (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');