From: Evan Prodromou Date: Fri, 6 Jun 2008 05:18:23 +0000 (-0400) Subject: don't clone arrays! X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c6f9e7c241b81a8613bfdde3baa5a8c9c3e5a8c5;p=quix0rs-gnu-social.git don't clone arrays! darcs-hash:20080606051823-84dde-1ba6bdfe546b5307afd97c2c7715f8d35b464e83.gz --- diff --git a/actions/userauthorization.php b/actions/userauthorization.php index 0deecd31f1..b819b7d3a1 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');