mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Move $error=FALSE out of conditional to top of script
git-svn-id: file:///svn/phpbb/trunk@2420 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -58,6 +58,7 @@ function show_coppa(&$coppa)
|
||||
//
|
||||
//
|
||||
|
||||
$error = FALSE;
|
||||
$page_title = ( $mode == 'editprofile' ) ? $lang['Edit_profile'] : $lang['Register'];
|
||||
|
||||
if ( $mode == 'register' && !isset($HTTP_POST_VARS['agreed']) && !isset($HTTP_GET_VARS['agreed']) )
|
||||
@@ -188,8 +189,6 @@ if ( isset($HTTP_POST_VARS['submit']) )
|
||||
{
|
||||
include($phpbb_root_path . 'includes/usercp_avatar.'.$phpEx);
|
||||
|
||||
$error = FALSE;
|
||||
|
||||
$passwd_sql = '';
|
||||
if ( $mode == 'editprofile' )
|
||||
{
|
||||
|
Reference in New Issue
Block a user