Updated fix for phpBB 3.1.2.