From 9afe28be2030216ffcda804bbf1c356835b2e362 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Thu, 16 May 2013 15:45:57 +0000 Subject: [PATCH] Support non scalar posted parameters... SVN:trunk[2749] --- application/loginwebpage.class.inc.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/application/loginwebpage.class.inc.php b/application/loginwebpage.class.inc.php index ebbb00c6b..41e75c749 100644 --- a/application/loginwebpage.class.inc.php +++ b/application/loginwebpage.class.inc.php @@ -150,11 +150,21 @@ EOF $this->add("\n"); // Keep the OTHER parameters posted - foreach($_POST as $sPostedKey => $sPostedValue) + foreach($_POST as $sPostedKey => $postedValue) { if (!in_array($sPostedKey, array('auth_user', 'auth_pwd'))) { - $this->add("\n"); + if (is_array($postedValue)) + { + foreach($postedValue as $sKey => $sValue) + { + $this->add("\n"); + } + } + else + { + $this->add("\n"); + } } }