]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
don't clone arrays!
authorEvan Prodromou <evan@prodromou.name>
Fri, 6 Jun 2008 05:18:23 +0000 (01:18 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 6 Jun 2008 05:18:23 +0000 (01:18 -0400)
darcs-hash:20080606051823-84dde-1ba6bdfe546b5307afd97c2c7715f8d35b464e83.gz

actions/userauthorization.php

index 0deecd31f1f578e6927d4957e52e13eaa8c241d6..b819b7d3a1bd84c7ff48872a9a00386104d4455d 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 = clone($args);
+                               $argsclone = $args;
                                unset($argsclone['action']);
                                common_set_returnto(common_local_url('userauthorization', $argsclone));
                                common_debug('userauthorization.php - redirecting to login');