Merge pull request #11574 from Vaadasch/patch-1
FIX Change "DOCUMENT_URI" to "PHP_SELF"
This commit is contained in:
commit
2a447fad1d
@ -1411,7 +1411,7 @@ class ExtraFields
|
||||
// current object id can be use into filter
|
||||
if (strpos($InfoFieldList[4], '$ID$') !== false && !empty($objectid)) {
|
||||
$InfoFieldList[4] = str_replace('$ID$', $objectid, $InfoFieldList[4]);
|
||||
} elseif (preg_match("#^.*list.php$#", $_SERVER["DOCUMENT_URI"])) {
|
||||
} elseif (preg_match("#^.*list.php$#", $_SERVER["PHP_SELF"])) {
|
||||
// Pattern for word=$ID$
|
||||
$word = '\b[a-zA-Z0-9-\.-_]+\b=\$ID\$';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user