[ticket/12057] New version of the patch

PHPBB3-12057