Bug fix dans set_remise

This commit is contained in:
Rodolphe Quiedeville 2003-09-05 21:01:50 +00:00
parent 8011f51cb6
commit 9b74128ec3

View File

@ -439,8 +439,7 @@ class Propal
*/
Function set_remise($user, $remise)
{
if ($user->rights->propale->valider)
if ($user->rights->propale->creer)
{
$sql = "UPDATE llx_propal SET remise_percent = ".ereg_replace(",",".",$remise);