Ticket/11840

From https://github.com/phpbb/phpbb3/pull/1727