diff --git a/htdocs/product/fournisseurs.php b/htdocs/product/fournisseurs.php index 1f5e35a043a..0fe2769803d 100644 --- a/htdocs/product/fournisseurs.php +++ b/htdocs/product/fournisseurs.php @@ -7,6 +7,7 @@ * Copyright (C) 2012 Christophe Battarel * Copyright (C) 2014 Ion Agorria * Copyright (C) 2015 Alexandre Spangaro + * Copyright (C) 2016 Ferran Marcet * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -46,7 +47,7 @@ $rowid=GETPOST('rowid','int'); $action=GETPOST('action', 'alpha'); $cancel=GETPOST('cancel', 'alpha'); $socid=GETPOST('socid', 'int'); -$cost_price=GETPOST('cost_price', 'int'); +$cost_price=GETPOST('cost_price', 'alpha'); $backtopage=GETPOST('backtopage','alpha'); $error=0;