mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Just me being anal again... A couple of miss-spellings in error messages
git-svn-id: file:///svn/phpbb/trunk@2470 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
aeabd5abaa
commit
5a40ff47f0
2 changed files with 4 additions and 4 deletions
|
@ -489,7 +489,7 @@ function get_table_content_postgresql($table, $handler)
|
||||||
|
|
||||||
if (!$result)
|
if (!$result)
|
||||||
{
|
{
|
||||||
message_die(GENERAL_ERROR, "Faild in get_table_content (select *)", "", __LINE__, __FILE__, "SELECT * FROM $table");
|
message_die(GENERAL_ERROR, "Failed in get_table_content (select *)", "", __LINE__, __FILE__, "SELECT * FROM $table");
|
||||||
}
|
}
|
||||||
|
|
||||||
$i_num_fields = $db->sql_numfields($result);
|
$i_num_fields = $db->sql_numfields($result);
|
||||||
|
@ -578,7 +578,7 @@ function get_table_content_mysql($table, $handler)
|
||||||
|
|
||||||
if (!$result)
|
if (!$result)
|
||||||
{
|
{
|
||||||
message_die(GENERAL_ERROR, "Faild in get_table_content (select *)", "", __LINE__, __FILE__, "SELECT * FROM $table");
|
message_die(GENERAL_ERROR, "Failed in get_table_content (select *)", "", __LINE__, __FILE__, "SELECT * FROM $table");
|
||||||
}
|
}
|
||||||
|
|
||||||
if($db->sql_numrows($result) > 0)
|
if($db->sql_numrows($result) > 0)
|
||||||
|
|
|
@ -46,7 +46,7 @@ if ( $result = $db->sql_query($sql) )
|
||||||
include($phpbb_root_path . 'includes/emailer.'.$phpEx);
|
include($phpbb_root_path . 'includes/emailer.'.$phpEx);
|
||||||
$emailer = new emailer($board_config['smtp_delivery']);
|
$emailer = new emailer($board_config['smtp_delivery']);
|
||||||
|
|
||||||
$email_headers = 'From: ' . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
|
$email_headers = 'From: ' . $board_config['board_email'] . "\r\nReturn-Path: " . $board_config['board_email'] . "\r\n";
|
||||||
|
|
||||||
$emailer->use_template('admin_welcome_activated', $row['user_lang']);
|
$emailer->use_template('admin_welcome_activated', $row['user_lang']);
|
||||||
$emailer->email_address($row['user_email']);
|
$emailer->email_address($row['user_email']);
|
||||||
|
@ -93,4 +93,4 @@ else
|
||||||
message_die(GENERAL_ERROR, 'Could not obtain user information', '', __LINE__, __FILE__, $sql);
|
message_die(GENERAL_ERROR, 'Could not obtain user information', '', __LINE__, __FILE__, $sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue