Move function in include/comment.php inside of the comment class. This lets us refer to
these functions like Comment:: making it clear they are static functions of the comment class
This commit is contained in:
@@ -70,7 +70,7 @@ while ($oRow = mysql_fetch_object($commentIds))
|
||||
$hResult = query_parameters($sQuery, $oRow->commentId);
|
||||
/* call view_app_comment to display the comment */
|
||||
$oComment_row = mysql_fetch_object($hResult);
|
||||
view_app_comment($oComment_row);
|
||||
Comment::view_app_comment($oComment_row);
|
||||
}
|
||||
|
||||
/* display page selection links */
|
||||
|
||||
Reference in New Issue
Block a user