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

Collapse All | Expand All

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

Return to bug 6248