diff --git a/core/userrights.class.inc.php b/core/userrights.class.inc.php index 861b28941a..5f6d11c927 100644 --- a/core/userrights.class.inc.php +++ b/core/userrights.class.inc.php @@ -408,8 +408,9 @@ abstract class User extends cmdbAbstractObject // A contact is mandatory (an administrator can bypass it but not for himself) if ((!UserRights::IsAdministrator() || $this->IsCurrentUser()) + && !$this->IsNew() && isset($aChanges['contactid']) - && ((empty($this->GetOriginal('contactid')) && !($this->IsNew())) || empty($this->Get('contactid')))) { + && empty($this->Get('contactid'))) { $this->m_aCheckIssues[] = Dict::S('Class:User/Error:PersonIsMandatory'); }