diff --git a/core/userrights.class.inc.php b/core/userrights.class.inc.php index c4c189bed3..4567bc8acc 100644 --- a/core/userrights.class.inc.php +++ b/core/userrights.class.inc.php @@ -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');