aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorErik Frèrejean <erikfrerejean@phpbb.com>2011-03-24 10:44:36 +0100
committerErik Frèrejean <erikfrerejean@phpbb.com>2011-03-24 10:44:36 +0100
commit83ca7305444e09180f0cee0352c4426bb72b793f (patch)
tree5cbe82ff32ec990351fb6a088dd1d740c40467bb /phpBB/includes
parentdf76799d4b3b4a7e400ee1d026311ddea9305aff (diff)
downloadforums-83ca7305444e09180f0cee0352c4426bb72b793f.tar
forums-83ca7305444e09180f0cee0352c4426bb72b793f.tar.gz
forums-83ca7305444e09180f0cee0352c4426bb72b793f.tar.bz2
forums-83ca7305444e09180f0cee0352c4426bb72b793f.tar.xz
forums-83ca7305444e09180f0cee0352c4426bb72b793f.zip
[ticket/9581] Fix missing index
Add `u.user_lang` to the select statement to prevent "undefined index" errors. PHPBB3-9581
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/acp/acp_email.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_email.php b/phpBB/includes/acp/acp_email.php
index a8cc93c2e7..133fe47e09 100644
--- a/phpBB/includes/acp/acp_email.php
+++ b/phpBB/includes/acp/acp_email.php
@@ -99,7 +99,7 @@ class acp_email
else
{
$sql_ary = array(
- 'SELECT' => 'u.username, u.username_clean, u.user_email, u.user_jabber, u.user_notify_type',
+ 'SELECT' => 'u.username, u.username_clean, u.user_email, u.user_jabber, u.user_lang, u.user_notify_type',
'FROM' => array(
USERS_TABLE => 'u',
),