diff --git a/phpBB/includes/usercp_register.php b/phpBB/includes/usercp_register.php index 1fd4f39cd0..b472374576 100644 --- a/phpBB/includes/usercp_register.php +++ b/phpBB/includes/usercp_register.php @@ -300,7 +300,7 @@ if ( isset($HTTP_POST_VARS['submit']) ) AND session_id = '" . $userdata['session_id'] . "'"; if (!($result = $db->sql_query($sql))) { - message_die(GENERAL_ERROR, 'Could not obtain confirmation code', __LINE__, __FILE__, $sql); + message_die(GENERAL_ERROR, 'Could not obtain confirmation code', '', __LINE__, __FILE__, $sql); } if ($row = $db->sql_fetchrow($result)) @@ -317,7 +317,7 @@ if ( isset($HTTP_POST_VARS['submit']) ) AND session_id = '" . $userdata['session_id'] . "'"; if (!$db->sql_query($sql)) { - message_die(GENERAL_ERROR, 'Could not delete confirmation code', __LINE__, __FILE__, $sql); + message_die(GENERAL_ERROR, 'Could not delete confirmation code', '', __LINE__, __FILE__, $sql); } } }