aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-03-24 13:08:20 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-03-24 13:08:20 +0000
commit5e3a33efb2e459b3eb72fd446b0d99e6467fb2a6 (patch)
treeb95bc14e276c809b7a6f6beea3ae2bca5047e5db /phpBB/includes
parentc996a8aa4129821bc640ba934362417ed69d79b8 (diff)
downloadforums-5e3a33efb2e459b3eb72fd446b0d99e6467fb2a6.tar
forums-5e3a33efb2e459b3eb72fd446b0d99e6467fb2a6.tar.gz
forums-5e3a33efb2e459b3eb72fd446b0d99e6467fb2a6.tar.bz2
forums-5e3a33efb2e459b3eb72fd446b0d99e6467fb2a6.tar.xz
forums-5e3a33efb2e459b3eb72fd446b0d99e6467fb2a6.zip
Move $error=FALSE out of conditional to top of script
git-svn-id: file:///svn/phpbb/trunk@2420 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/usercp_register.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/usercp_register.php b/phpBB/includes/usercp_register.php
index a1692c1fc0..92be87f63c 100644
--- a/phpBB/includes/usercp_register.php
+++ b/phpBB/includes/usercp_register.php
@@ -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' )
{