Fix: Data are clean once registered into dictionnaries.

This commit is contained in:
Laurent Destailleur 2014-05-20 16:08:05 +02:00
parent 9ae9f062ac
commit 753ef28168

View File

@ -522,9 +522,7 @@ if (GETPOST('actionadd') || GETPOST('actionmodify'))
$result = $db->query($sql);
if ($result) // Add is ok
{
//$oldid=$id;
//$_POST=array('id'=>$oldid); // Clean $_POST array, we keep only
//$_GET["id"]=$_POST["id"]; // Force affichage dictionnaire en cours d'edition
$_POST=array('id'=>$id); // Clean $_POST array, we keep only
}
else
{