[ticket/12015] Fix variable name and event version

http://tracker.phpbb.com/browse/PHPBB3-12015