Ascraeus version of ticket/13234

https://tracker.phpbb.com/browse/PHPBB3-13234