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

Collapse All | Expand All

(-)pages/comment/CommentHandler.inc.php (+1 lines)
 Lines 91-96    Link Here 
91
		$this->validate($paperId);
91
		$this->validate($paperId);
92
		$paper =& $this->paper;
92
		$paper =& $this->paper;
93
93
94
		$commentDao =& DAORegistry::getDAO('CommentDAO');
94
		$parent =& $commentDao->getComment($parentId, $paperId);
95
		$parent =& $commentDao->getComment($parentId, $paperId);
95
		if (isset($parent) && $parent->getPaperId() != $paperId) {
96
		if (isset($parent) && $parent->getPaperId() != $paperId) {
96
			Request::redirect(null, null, null, 'view', array($paperId, $galleyId));
97
			Request::redirect(null, null, null, 'view', array($paperId, $galleyId));

Return to bug 6248