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");
+ }
}
}