[ticket/12170] Test for 12170

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