Fix commentview admin panel
This commit is contained in:
@@ -98,10 +98,9 @@ $commentIds = query_appdb("SELECT commentId from appComments ORDER BY ".
|
||||
while ($ob = mysql_fetch_object($commentIds))
|
||||
{
|
||||
$qstring = "SELECT from_unixtime(unix_timestamp(time), \"%W %M %D %Y, %k:%i\") as time, ".
|
||||
"commentId, parentId, appId, versionId, userid, subject, body ".
|
||||
"commentId, parentId, versionId, userid, subject, body ".
|
||||
"FROM appComments WHERE commentId = $ob->commentId;";
|
||||
$result = query_appdb($qstring);
|
||||
|
||||
/* call view_app_comment to display the comment */
|
||||
$comment_ob = mysql_fetch_object($result);
|
||||
view_app_comment($comment_ob);
|
||||
@@ -113,5 +112,4 @@ display_range($currentPage, $pageRange, $totalPages, $commentsPerPage);
|
||||
echo "</center>";
|
||||
|
||||
apidb_footer();
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user