This commit is contained in:
Florian HENRY 2020-10-21 20:41:50 +02:00
parent 0a9293c9c6
commit 93a97492ae

View File

@ -26,7 +26,6 @@ if (!defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL', '1'); // Disables token
if (!defined('NOREQUIREMENU')) define('NOREQUIREMENU', '1'); if (!defined('NOREQUIREMENU')) define('NOREQUIREMENU', '1');
if (!defined('NOREQUIREAJAX')) define('NOREQUIREAJAX', '1'); if (!defined('NOREQUIREAJAX')) define('NOREQUIREAJAX', '1');
if (!defined('NOREQUIRESOC')) define('NOREQUIRESOC', '1'); if (!defined('NOREQUIRESOC')) define('NOREQUIRESOC', '1');
//if (!defined('NOCSRFCHECK')) define('NOCSRFCHECK', '1');
require '../../main.inc.php'; require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.product.class.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.product.class.php';
@ -49,7 +48,6 @@ top_httphead();
if ($idprod > 0) if ($idprod > 0)
{ {
$producttmp = new ProductFournisseur($db); $producttmp = new ProductFournisseur($db);
$producttmp->fetch($idprod); $producttmp->fetch($idprod);