diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2005-12-12 23:17:30 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-12-12 23:17:30 +0000 |
| commit | e4defede57bcde636ee7afb59e0e9a385f7f4a13 (patch) | |
| tree | 0ca637e6d650147cd257f35062ea3c47c7be2326 /phpBB/viewforum.php | |
| parent | c12fd5d434c9a3cda6bedb2d450243b278cd5dcb (diff) | |
| download | forums-e4defede57bcde636ee7afb59e0e9a385f7f4a13.tar forums-e4defede57bcde636ee7afb59e0e9a385f7f4a13.tar.gz forums-e4defede57bcde636ee7afb59e0e9a385f7f4a13.tar.bz2 forums-e4defede57bcde636ee7afb59e0e9a385f7f4a13.tar.xz forums-e4defede57bcde636ee7afb59e0e9a385f7f4a13.zip | |
- forum administration (now working and modified for easier handling the different forum types [UI])
- Changed += for arrays into array_merge. We do not want to append, we want to merge. ;)
git-svn-id: file:///svn/phpbb/trunk@5330 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
| -rw-r--r-- | phpBB/viewforum.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 134ad988bd..b72bb39336 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -133,8 +133,8 @@ else get_moderators($moderators, $forum_id); } -// Output forum listing if it is postable -if ($forum_data['forum_type'] == FORUM_POST || ($forum_data['forum_flags'] & 16)) +// Output forum listing if it is postable or active topics +if ($forum_data['forum_type'] == FORUM_POST || (($forum_data['forum_flags'] & 16) && $forum_data['forum_type'] == FORUM_CAT)) { // Handle marking posts if ($mark_read == 'topics') |
