diff options
Diffstat (limited to 'phpBB/index.php')
| -rw-r--r-- | phpBB/index.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/index.php b/phpBB/index.php index f7f9cdb580..b5716bc6b6 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -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); |
