From 1d0a29b64e189c3c77904d68757f6cdd4e3837ce Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 7 Nov 2010 11:30:02 +0000 Subject: [PATCH] Add fixme --- htdocs/product/ajaxproducts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/ajaxproducts.php b/htdocs/product/ajaxproducts.php index 6bd040b18b0..f5ee4b37564 100644 --- a/htdocs/product/ajaxproducts.php +++ b/htdocs/product/ajaxproducts.php @@ -57,7 +57,7 @@ top_httphead(); dol_syslog(join(',',$_GET)); $match = preg_grep('/(idprod[0-9]+)/',array_keys($_GET)); -$idprod = $match[6]; // 6eme valeur du GET +$idprod = $match[6]; // 6eme valeur du GET // FIXME Ne pas avoir de code qui dépend d'une position mais d'une valeur de clé. //print $_GET[$idprod]; if (! isset($_GET['idprod']) && ! isset($_GET[$idprod]) && ! isset($_GET['idprodfournprice'])) return;