Skip to content
Snippets Groups Projects
Commit e8a4bab2 authored by oilyflutesalad's avatar oilyflutesalad
Browse files

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

parent 6aa01ca4
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment