[ticket/12262] Fix event exporter

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