From 4b5a039f9729377cba792dc7e242be67bc1b5eb7 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Tue, 11 Jan 2011 10:25:55 +0000 Subject: [PATCH] Fix POST-redirect with associative array. Thanks to Goro Sawada for reporting this bug! git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2709 44740490-163a-0410-bde0-09ae8108e29a --- templates/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/post.php b/templates/post.php index d33789556..7b5c4b60d 100644 --- a/templates/post.php +++ b/templates/post.php @@ -48,7 +48,7 @@ function printItem($name, $value) { /* This is an array... */ foreach ($value as $index => $item) { - printItem($name . '[' . var_export($index, TRUE) . ']', $item); + printItem($name . '[' . $index . ']', $item); } } -- GitLab