N°4417 - Fix portal user not seeing support agent avatar on caselog in portal

This commit is contained in:
acognet
2021-11-15 15:36:03 +01:00
parent abb63182e3
commit 11d2991286

View File

@@ -1877,6 +1877,7 @@ class UserRights
assert(false); // should never happen
}
$oSearch = DBObjectSearch::FromOQL("SELECT $sBaseClass WHERE login = :login");
$oSearch->AllowAllData();
if (!$bAllowDisabledUsers)
{
$oSearch->AddCondition('status', 'enabled');