mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Merge pull request #2675 from arunshekher/oldpolls_comments_container_html_fix
oldpolls.php comments container html fix
This commit is contained in:
@@ -82,23 +82,7 @@ if(e_QUERY)
|
|||||||
|
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
$query = "SELECT c.*, u.* FROM #comments AS c
|
$text .= e107::getComment()->compose_comment('poll', 'comment', intval( $row['poll_id'] ), null, '', false, 'html');
|
||||||
LEFT JOIN #user AS u ON c.comment_author_id = u.user_id
|
|
||||||
WHERE comment_item_id=".intval($row['poll_id'])." AND comment_type='4' ORDER BY comment_datestamp";
|
|
||||||
|
|
||||||
if ($comment_total = $sql->gen($query))
|
|
||||||
{
|
|
||||||
$text .= "<hr /><div>";
|
|
||||||
|
|
||||||
while ($row2 = $sql->fetch())
|
|
||||||
{
|
|
||||||
$text .= e107::getComment()->render_comment($row2, 'poll', 'comment');
|
|
||||||
}
|
|
||||||
$text .= "</div>";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// $text .= "</table>";
|
|
||||||
$ns->tablerender(LAN_PLUGIN_POLL_NAME." #".$row['poll_id'], $text);
|
$ns->tablerender(LAN_PLUGIN_POLL_NAME." #".$row['poll_id'], $text);
|
||||||
echo "<hr />";
|
echo "<hr />";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user