Commit e8a4bab2 authored by oilyflutesalad's avatar oilyflutesalad
Browse files

Implemented: FS#1021 [DOMAINID] user prefix in Interface Config.

parent 6aa01ca4
......@@ -32,7 +32,7 @@ function replacePrefix($name, $dataRecord) {
if ($name=="") return "";
// Array containing keys to search
$keywordlist=array('CLIENTNAME','CLIENTID');
$keywordlist=array('CLIENTNAME','CLIENTID','DOMAINID');
// Try to match the key within the string
foreach ($keywordlist as $keyword) {
......@@ -44,6 +44,9 @@ function replacePrefix($name, $dataRecord) {
case 'CLIENTID':
$name=str_replace('['.$keyword.']', getClientID($dataRecord),$name);
break;
case 'DOMAINID':
$name=str_replace('['.$keyword.']', $dataRecord['parent_domain_id'],$name);
break;
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment