[ticket/12273] Do not allow 3.1-A1 for template events

PHPBB3-12273