summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2006-04-19 23:55:34 +0000
committertailor <cygnus@janrain.com>2006-04-19 23:55:34 +0000
commit5b0272d65cd47a5880d025227aeca9d3ddbe4db1 (patch)
tree5d08aad33dbfea9cb8257157526f9475bc7d63c6
parent011997c7af13d09c9469c01cb004e11e8301367f (diff)
downloadphp-openid-5b0272d65cd47a5880d025227aeca9d3ddbe4db1.zip
php-openid-5b0272d65cd47a5880d025227aeca9d3ddbe4db1.tar.gz
php-openid-5b0272d65cd47a5880d025227aeca9d3ddbe4db1.tar.bz2
[project @ Added kvform fix for arrays of pairs in fromArray]
-rw-r--r--Auth/OpenID/KVForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Auth/OpenID/KVForm.php b/Auth/OpenID/KVForm.php
index f021035..d918d88 100644
--- a/Auth/OpenID/KVForm.php
+++ b/Auth/OpenID/KVForm.php
@@ -110,7 +110,7 @@ class Auth_OpenID_KVForm {
$serialized = '';
foreach ($values as $key => $value) {
if (is_array($value)) {
- list($key, $value) = $value;
+ list($key, $value) = array($value[0], $value[1]);
}
if (strpos($key, ':') !== false) {