[0.83] apply r19965 - see #4165

git-svn-id: https://forge.indepnet.net/svn/glpi/branches/0.83-bugfixes@19969 35612d4c-9d10-0410-837c-bf9dd1be60d7