phpbb/phpbb3 — pull request #1597 by marc1706 (2013-07-22 20:05:22+00:00)
Title: [ticket/11723] Correctly redirect user to agreement page and let him leave

This patch consists of two changes. The first one will make sure that $agree
is correctly reset to 0 and the user redirected back to the agreement page
after changing the display language. Secondly, by reseting 'change_lang',
the user will be able to agree to the terms on the agreement page again.
The changed language will still be kept, as this is correctly saved in the
'lang' field that is passed to the ucp_register page.

Ticket: http://tracker.phpbb.com/browse/PHPBB3-11723

PHPBB3-11723