Correction bug lors du classement de la facture dans un projet

This commit is contained in:
Rodolphe Quiedeville 2004-06-30 16:45:51 +00:00
parent 6cc0124d99
commit 4b0bf22b75

View File

@ -1179,7 +1179,7 @@ else
*
*
*/
if ($action == 'classer')
if ($_GET["action"] == 'classer')
{
print "<p><form method=\"post\" action=\"$PHP_SELF?facid=$fac->id\">\n";
print '<input type="hidden" name="action" value="classin">';
@ -1187,7 +1187,7 @@ else
print '<tr><td>Projet</td><td>';
$proj = new Project($db);
$html->select_array("projetid",$proj->liste_array($socidp));
$html->select_array("projetid",$proj->liste_array($soc->id));
print "</td></tr>";
print '<tr><td colspan="2" align="center"><input type="submit" value="Envoyer"></td></tr></table></form></p>';