aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-06-21 00:16:36 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-06-21 00:16:36 +0000
commit8276d5728c8ab62d788d152a1e2eddc300b70cfa (patch)
tree703f1e8595ac88e2e2fee99974b6eceda2486bb5 /phpBB/viewforum.php
parent4dd500a575ac76ee324714cd7e5a7ec88c44f01d (diff)
downloadforums-8276d5728c8ab62d788d152a1e2eddc300b70cfa.tar
forums-8276d5728c8ab62d788d152a1e2eddc300b70cfa.tar.gz
forums-8276d5728c8ab62d788d152a1e2eddc300b70cfa.tar.bz2
forums-8276d5728c8ab62d788d152a1e2eddc300b70cfa.tar.xz
forums-8276d5728c8ab62d788d152a1e2eddc300b70cfa.zip
Fixed small error in bracketing
git-svn-id: file:///svn/phpbb/trunk@519 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 408214d521..ae849be03a 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -119,9 +119,9 @@ if(!$is_auth['auth_read'] || !$is_auth['auth_view'])
//
// Do the forum Prune
//
-if(($is_auth['auth_mod'] || ($is_auth['auth_admin'})) && ($board_config['prune_enable']))
+if( ( $is_auth['auth_mod'] || $is_auth['auth_admin'] ) && $board_config['prune_enable'] )
{
- if(($forum_row[0]['prune_next'] < time()) && ($forum_row[0]['prune_enable']))
+ if( $forum_row[0]['prune_next'] < time() && $forum_row[0]['prune_enable'] )
{
include('includes/prune.php');
auto_prune($forum_id);