summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-06 01:18:23 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-06 01:18:23 -0400
commitc6f9e7c241b81a8613bfdde3baa5a8c9c3e5a8c5 (patch)
treee336e87670cff563d8a5c0a54fe2b0c5d9644a72 /actions
parent91520857027558d377b735fa14ecd0c54aba02e2 (diff)
don't clone arrays!
darcs-hash:20080606051823-84dde-1ba6bdfe546b5307afd97c2c7715f8d35b464e83.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/userauthorization.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/userauthorization.php b/actions/userauthorization.php
index 0deecd31f..b819b7d3a 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 = clone($args);
+ $argsclone = $args;
unset($argsclone['action']);
common_set_returnto(common_local_url('userauthorization', $argsclone));
common_debug('userauthorization.php - redirecting to login');