2
0
forked from Wavyzz/dolibarr

Fix: Quand on accde a une page directement avec paramtres sans etre identifi, les paramtres sont perdus au moment de l'identification.

This commit is contained in:
Laurent Destailleur
2005-10-08 14:57:21 +00:00
parent ba7f926090
commit 5c54907ed7

View File

@@ -864,7 +864,10 @@ function loginfunction()
print '</head>'."\n";
print '<body class="body" onload="donnefocus();">';
print '<form id="login" method="post" action="' . $_SERVER['PHP_SELF'] . '" name="identification">';
print '<form id="login" method="post" action="';
print $_SERVER['PHP_SELF'];
print $_SERVER["QUERY_STRING"]?'?'.$_SERVER["QUERY_STRING"]:'';
print '" name="identification">';
print '<table cellpadding="0" cellspacing="0" border="0" align="center" width="350">';