From 62b4660558a8bfd88369d0350c3cfb99ca08ee13 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Wed, 24 Aug 2005 00:29:34 +0000 Subject: [PATCH] Fix display of comments when a threaded comment is clicked on in threaded comment mode. We were passing in one too many parameters to a function call and including comment.php multiple times. --- commentview.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commentview.php b/commentview.php index 2ccd186..dedb279 100644 --- a/commentview.php +++ b/commentview.php @@ -10,7 +10,7 @@ */ include("path.php"); include(BASE."include/incl.php"); -require(BASE."include/comment.php"); +require_once(BASE."include/comment.php"); apidb_header("Comments"); @@ -20,7 +20,7 @@ if(!is_numeric($_REQUEST['appId']) OR !is_numeric($_REQUEST['versionId']) OR (is exit; } -view_app_comments($_REQUEST['appId'], $_REQUEST['versionId'], $_REQUEST['threadId']); +view_app_comments($_REQUEST['versionId'], $_REQUEST['threadId']); apidb_footer(); ?>