Profiler/Fixup

* fix tooltips for profiles pending rename
This commit is contained in:
Sarjuuk 2026-01-30 15:39:16 +01:00
parent 4f4f68bd66
commit dfabc9464d

View file

@ -72,8 +72,11 @@ class ProfilePowerResponse extends TextResponse implements ICache
);
}
if ($_ = $profile->getField('renameItr'))
$ri = '-'.$_;
if ($this->subjectName)
$id = implode('.', [$this->region, Profiler::urlize($this->realm, true), urlencode($this->subjectName)]);
$id = implode('.', [$this->region, Profiler::urlize($this->realm, true), urlencode($this->subjectName) . ($ri ?? '')]);
else
$id = $this->typeId;