Update mouvementstock.class.php

return mouvement id instead simply "1", i need to store the movement id on my factory modules (to update it at the end of the build process if it's need)
This commit is contained in:
BENKE Charles 2014-06-21 17:51:50 +02:00
parent 60ac697813
commit 3a886dfeb4

View File

@ -265,7 +265,7 @@ class MouvementStock
if (! $error)
{
$this->db->commit();
return 1;
return mvid;
}
else
{