Fix default category

This commit is contained in:
Jamie Cameron
2009-03-16 21:44:28 +00:00
parent 7baf79aba5
commit 5d8bca4fd6
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ if (!defined($in{'cat'})) {
# Show standard header
$gconfig{'sysinfo'} = 0 if ($gconfig{'sysinfo'} == 1);
$theme_index_page = 1;
$main::theme_index_page = 1;
$title = $gconfig{'nohostname'} ? $text{'main_title2'} :
&text('main_title', $ver, $hostname, $ostr);
&header($title, "",

View File

@@ -281,7 +281,7 @@ if (@_ > 1 && !$one && $remote_user && !$notabs) {
$cats = @cats;
$per = $cats ? 100.0 / $cats : 100;
if ($theme_index_page) {
if ($main::theme_index_page) {
if (!defined($in{'cat'})) {
# Use default category