Permalink
Browse files

Fixed problem when sectional links on the "Read More" line mistakenly

appeared on the sectional homepages.
  • Loading branch information...
1 parent 0f0d550 commit 76b5f7a33ca76f888eaba486cbe6f20fb01fe40b @Xliff Xliff committed Jun 22, 2000
Showing with 4 additions and 2 deletions.
  1. +2 −1 public_html/index.pl
  2. +2 −1 themes/slashcode/htdocs/index.pl
View
@@ -257,7 +257,8 @@ sub displayStories {
}
- if ($thissection ne $I{defaultsection}) {
+ if ($thissection ne $I{defaultsection}
+ && (! $I{F}{section} || $I{F}{section} eq $I{defaultsection})) {
my($SEC) = getSection($thissection);
print qq' | <A HREF="$I{rootdir}/$thissection/">$SEC->{title}</A>';
}
@@ -257,7 +257,8 @@ sub displayStories {
}
- if ($thissection ne $I{defaultsection}) {
+ if ($thissection ne $I{defaultsection}
+ && (! $I{F}{section} || $I{F}{section} eq $I{defaultsection})) {
my($SEC) = getSection($thissection);
print qq' | <A HREF="$I{rootdir}/$thissection/">$SEC->{title}</A>';
}

0 comments on commit 76b5f7a

Please sign in to comment.