[development] When calling drupal_goto I can't seem to successfully pass a querystring along with the url.
Guillaume
guillaume at resist.ca
Thu Mar 10 18:04:30 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
The code goes:
function drupal_goto($path = '', $query = NULL, $fragment = NULL,
$http_response_code = 302) {
$destination = FALSE;
if (isset($_REQUEST['destination'])) {
$destination = $_REQUEST['destination'];
}
If you have anything in $_REQUEST, it will go there first.
G - drupal_goto considered harmful :D
On 03/10/2011 10:02 AM, John Mitchell wrote:
>
> I tried drupal_goto('admin/store/free_subscription', 'status=bye');
>
> and it still did not work.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBCAAGBQJNeRKkAAoJEIudqlYAGRshlyUP/3o37T7cV9GxwuRJmm3zAZK0
BbDvdwpMU2csdH6rsenPULgkKqijuWJU62r7g7M+HFXW6bK7l4YIO7xs/RYQuOwo
yZMCMtJmvnwExZNG18yNRPUTfu/xiRmMaIjR7pzk60gqKrjx08cLFO35Da8YiW7S
nFPk9Hsxs/AuRajddubDkjh8W971o8JPEpTwA609H71aNEHkVRQjB42D/u8vH+nm
9P7c5gx7KfDq/ZI3x2aPK7g/JkslZzVXsyaaNBd3somlc1d+QTkpekTZ/NdWF8oq
6jMdn42A5IKUkDSeAiyt2TkZm+9lnW4IT2y04w5LhYX41qqm2GMjJQxX5HiKGTI7
DaRdwcPCgclo313Apd3sbiD2tLH0RdBm0wLdPSi1X2q58fY6wCqVml6y7JP0Pu2G
1ItpG3Uj8s4CN1Ut9om6snYU4OeuLFVbENWEI7a0Ao7gVzSE8SaFhsa1h0z7WPzB
YdbMLH/6e9ozCxCjrBfgMG919Aze3gLWQ6XXjXwduHbRQwAfuBsZ48eh0hbvlF4X
ojxyxDaaVQ4+cE9O4dRWnZW1nyolEaGBI8klpGo2oyXx5vbL3Wr5vyaVwUBgkM3s
/rm7iIefyNtH01rKcHxe2ASjTCRLghe/KRtCt84fVin8t+KzPKvYdPCYxQFrnVLV
SFWYUXEo/JPU44rtXWlP
=VysZ
-----END PGP SIGNATURE-----
More information about the development
mailing list