diff --git a/comment.php b/comment.php index 2f3c113a5..e3b7eb82a 100644 --- a/comment.php +++ b/comment.php @@ -366,7 +366,7 @@ elseif ($action == 'comment') $e_comment = $cobj->get_e_comment(); if ($table == $e_comment[$table]['eplug_comment_ids']) { - if ($sql->db_Select($table,$e_comment[$table]['db_title'],$e_comment[$table]['db_id']."={$id} ")) + if ($sql->db_Select($e_comment[$table]['db_table'],$e_comment[$table]['db_title'],$e_comment[$table]['db_id']."={$id} ")) { $row = $sql->db_Fetch(); $subject = $row[$e_comment[$table]['db_title']];