We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aa01ca commit e8a4babCopy full SHA for e8a4bab
interface/web/sites/tools.inc.php
@@ -32,7 +32,7 @@ function replacePrefix($name, $dataRecord) {
32
if ($name=="") return "";
33
34
// Array containing keys to search
35
- $keywordlist=array('CLIENTNAME','CLIENTID');
+ $keywordlist=array('CLIENTNAME','CLIENTID','DOMAINID');
36
37
// Try to match the key within the string
38
foreach ($keywordlist as $keyword) {
@@ -44,6 +44,9 @@ function replacePrefix($name, $dataRecord) {
44
case 'CLIENTID':
45
$name=str_replace('['.$keyword.']', getClientID($dataRecord),$name);
46
break;
47
+ case 'DOMAINID':
48
+ $name=str_replace('['.$keyword.']', $dataRecord['parent_domain_id'],$name);
49
+ break;
50
}
51
52
0 commit comments