1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

A forum with no forums/cats now shows a nice message insted of a big ugly messed up template

git-svn-id: file:///svn/phpbb/trunk@56 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson
2001-02-25 01:22:36 +00:00
parent 04978aa044
commit ead4422667
3 changed files with 11 additions and 0 deletions

View File

@@ -175,6 +175,10 @@ if($total_categories)
} // for ... categories
}// if ... total_categories
else
{
error_die($db, GENERAL_ERROR, "There are no Categories or Foums on this board.");
}
$template->pparse("output", "body");
include('page_tail.'.$phpEx);