Merge pull request #1802 from FHenry/3.6

Fix extrafield parameters for sellist
This commit is contained in:
Laurent Destailleur 2014-08-04 09:13:42 +02:00
commit c7d4b1e3d5

View File

@ -943,7 +943,7 @@ class ExtraFields
$selectkey="rowid";
$keyList='rowid';
if (count($InfoFieldList)==3)
if (count($InfoFieldList)>=3)
{
$selectkey = $InfoFieldList[2];
$keyList=$InfoFieldList[2].' as rowid';