aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-01-07 18:50:30 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-01-07 18:50:30 +0000
commiteb86e9ba68c43275b62574c2d709333e49873734 (patch)
treeca9e79a4f811ca2c5c1f62cb16b7abedcd3e8bce /phpBB/posting.php
parentf82c0109737676f72ba02460dc8920ec0966acc7 (diff)
downloadforums-eb86e9ba68c43275b62574c2d709333e49873734.tar
forums-eb86e9ba68c43275b62574c2d709333e49873734.tar.gz
forums-eb86e9ba68c43275b62574c2d709333e49873734.tar.bz2
forums-eb86e9ba68c43275b62574c2d709333e49873734.tar.xz
forums-eb86e9ba68c43275b62574c2d709333e49873734.zip
Updates to hopefully fix bug #500212
git-svn-id: file:///svn/phpbb/trunk@1809 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 29760c412e..11f4075520 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -958,7 +958,7 @@ if( ( $submit || $confirm || $mode == "delete" ) && !$error )
//
if( $mode == "reply" )
{
- $sql = "SELECT u.user_id, u.username, u.user_email, t.topic_title
+ $sql = "SELECT u.user_id, u.username, u.user_email, u.user_lang, t.topic_title
FROM " . TOPICS_WATCH_TABLE . " tw, " . TOPICS_TABLE . " t, " . USERS_TABLE . " u
WHERE tw.topic_id = $new_topic_id
AND tw.user_id NOT IN (" . $userdata['user_id'] . ", " . ANONYMOUS . " )
@@ -1001,7 +1001,7 @@ if( ( $submit || $confirm || $mode == "delete" ) && !$error )
{
if( $email_set[$i]['user_email'] != "")
{
- $emailer->use_template("topic_notify");
+ $emailer->use_template("topic_notify", $email_set[$i]['user_lang']);
$emailer->email_address($email_set[$i]['user_email']);
$emailer->set_subject($lang['Topic_reply_notification']);
$emailer->extra_headers($email_headers);