[ticket/12818] Don't use the id for i=

PHPBB3-12818