From 94856fcb83078e3539b5f83850cfda073a6cb891 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 10 Jan 2003 13:22:00 +0000 Subject: [PATCH] And why in hell didn't these commit ... they were in the list "days" ago ... ggrrr git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3298 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/usercp_register.php | 2 +- phpBB/includes/usercp_sendpasswd.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/includes/usercp_register.php b/phpBB/includes/usercp_register.php index cfcecd8c37..3ca5479133 100644 --- a/phpBB/includes/usercp_register.php +++ b/phpBB/includes/usercp_register.php @@ -83,7 +83,7 @@ if ( // session id check if ($sid == '' || $sid != $userdata['session_id']) { - message_die(ERROR, 'Invalid_session'); + message_die(GENERAL_ERROR, 'Invalid_session'); } include($phpbb_root_path . 'includes/functions_validate.'.$phpEx); diff --git a/phpBB/includes/usercp_sendpasswd.php b/phpBB/includes/usercp_sendpasswd.php index 609907ede9..c8de08d97e 100644 --- a/phpBB/includes/usercp_sendpasswd.php +++ b/phpBB/includes/usercp_sendpasswd.php @@ -32,7 +32,7 @@ if ( isset($HTTP_POST_VARS['submit']) ) // session id check if ($sid == '' || $sid != $userdata['session_id']) { - message_die(ERROR, 'Invalid_session'); + message_die(GENERAL_ERROR, 'Invalid_session'); } $username = ( !empty($HTTP_POST_VARS['username']) ) ? trim(strip_tags($HTTP_POST_VARS['username'])) : '';