aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/post.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/post.php')
-rw-r--r--phpBB/includes/post.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/post.php b/phpBB/includes/post.php
index 1963437b57..12505b3043 100644
--- a/phpBB/includes/post.php
+++ b/phpBB/includes/post.php
@@ -569,7 +569,7 @@ function user_notification($mode, &$post_data, &$forum_id, &$topic_id, &$post_id
if ( $mode == "reply" )
{
$sql = "SELECT ban_userid
- FROM " . BANLIST_TABLE . ";
+ FROM " . BANLIST_TABLE;
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "", "", __LINE__, __FILE__, $sql);
@@ -578,7 +578,7 @@ function user_notification($mode, &$post_data, &$forum_id, &$topic_id, &$post_id
$user_id_sql = "";
while ( $row = $db->sql_fetchrow($result) )
{
- if ( isset($row['ban_user_id']) )
+ if ( isset($row['ban_userid']) )
{
$user_id_sql = ", " . $row['ban_userid'];
}