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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user