FIX : Error with selectForForms function

This commit is contained in:
Adrien Raze 2022-02-14 15:04:12 +01:00
parent f2d5e43381
commit 3305965c85

View File

@ -7379,10 +7379,7 @@ class Form
$objecttmp = null;
$InfoFieldList = explode(":", $objectdesc, 4);
$vartmp = $InfoFieldList[3];
$InfoFieldList[4] = preg_replace('/^.*:(\w*)$/', '\1', $vartmp); // take the sort field
$InfoFieldList[3] = preg_replace('/:\w*$/', '', $vartmp); // take the filter field
$InfoFieldList = explode(":", $objectdesc);
$classname = $InfoFieldList[0];
$classpath = $InfoFieldList[1];