From 2db01bec9eccfdc1476619035157dfafce7e2dbd Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 17 Aug 2007 03:42:07 +0000 Subject: [PATCH] Slight change to "show parent" link (backto how it was) --- mod/forum/lib.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) 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); -- 2.39.5