From: moodler Date: Fri, 17 Aug 2007 03:42:07 +0000 (+0000) Subject: Slight change to "show parent" link (backto how it was) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2db01bec9eccfdc1476619035157dfafce7e2dbd;p=moodle.git Slight change to "show parent" link (backto how it was) --- diff --git a/mod/forum/lib.php b/mod/forum/lib.php index e1aa7cec89..035bfb6dfa 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -2278,14 +2278,9 @@ function forum_print_post(&$post, $courseid, $ownpost=false, $reply=false, $link } } - if ($post->parent) { - if ($threadedmode) { - $commands[] = ''.$strparent.''; - } else { - $commands[] = ''.$strparent.''; - } + if ($post->parent) { // Zoom in to the parent specifically + $commands[] = ''.$strparent.''; } $forumtype = get_field('forum', 'type', 'id', $post->forum);