View | Details | Raw Unified | Return to bug 6249 | Differences between
and this patch

Collapse All | Expand All

(-)a/pages/comment/CommentHandler.inc.php (-1 / +1 lines)
 Lines 84-90   class CommentHandler extends Handler { Link Here 
84
		$publishedArticle =& $publishedArticleDao->getPublishedArticleByArticleId($articleId);
84
		$publishedArticle =& $publishedArticleDao->getPublishedArticleByArticleId($articleId);
85
85
86
		$parent =& $commentDao->getById($parentId, $articleId);
86
		$parent =& $commentDao->getById($parentId, $articleId);
87
		if (isset($parent) && $parent->getArticleId() != $articleId) {
87
		if (isset($parent) && $parent->getSubmissionId() != $articleId) {
88
			Request::redirect(null, null, 'view', array($articleId, $galleyId));
88
			Request::redirect(null, null, 'view', array($articleId, $galleyId));
89
		}
89
		}
90
90

Return to bug 6249