Rename some variables to match our current naming scheme
This commit is contained in:
@@ -62,15 +62,15 @@ echo "</center>";
|
||||
$offset = (($currentPage-1) * $ItemsPerPage);
|
||||
$commentIds = query_parameters("SELECT commentId from appComments ORDER BY ".
|
||||
"appComments.time ASC LIMIT ?, ?", $offset, $ItemsPerPage);
|
||||
while ($ob = mysql_fetch_object($commentIds))
|
||||
while ($oRow = mysql_fetch_object($commentIds))
|
||||
{
|
||||
$sQuery = "SELECT from_unixtime(unix_timestamp(time), \"%W %M %D %Y, %k:%i\") as time, ".
|
||||
"commentId, parentId, versionId, userid, subject, body ".
|
||||
"FROM appComments WHERE commentId = '?'";
|
||||
$hResult = query_parameters($sQuery, $ob->commentId);
|
||||
$hResult = query_parameters($sQuery, $oRow->commentId);
|
||||
/* call view_app_comment to display the comment */
|
||||
$comment_ob = mysql_fetch_object($hResult);
|
||||
view_app_comment($comment_ob);
|
||||
$oComment_row = mysql_fetch_object($hResult);
|
||||
view_app_comment($oComment_row);
|
||||
}
|
||||
|
||||
/* display page selection links */
|
||||
|
||||
Reference in New Issue
Block a user