FIX #20063
This commit is contained in:
parent
dfcc49d466
commit
131ae92cc6
@ -7384,10 +7384,17 @@ class Form
|
|||||||
|
|
||||||
$objecttmp = null;
|
$objecttmp = null;
|
||||||
|
|
||||||
|
// Example of value for $objectdec:
|
||||||
|
// Bom:bom/class/bom.class.php:0:t.status=1
|
||||||
|
// Bom:bom/class/bom.class.php:0:t.status=1:ref
|
||||||
|
// Bom:bom/class/bom.class.php:0:(t.status:=:1):ref
|
||||||
$InfoFieldList = explode(":", $objectdesc, 4);
|
$InfoFieldList = explode(":", $objectdesc, 4);
|
||||||
$vartmp = $InfoFieldList[3];
|
$vartmp = $InfoFieldList[3];
|
||||||
$InfoFieldList[4] = preg_replace('/^.*:(\w*)$/', '\1', $vartmp); // take the sort field
|
$reg = array();
|
||||||
$InfoFieldList[3] = preg_replace('/:\w*$/', '', $vartmp); // take the filter field
|
if (preg_match('/^.*:(\w*)$/', $vartmp, $reg)) {
|
||||||
|
$InfoFieldList[4] = $reg[1]; // take the sort field
|
||||||
|
}
|
||||||
|
$InfoFieldList[3] = preg_replace('/:\w*$/', '', $vartmp); // take the filter field
|
||||||
|
|
||||||
$classname = $InfoFieldList[0];
|
$classname = $InfoFieldList[0];
|
||||||
$classpath = $InfoFieldList[1];
|
$classpath = $InfoFieldList[1];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user