From 8276d5728c8ab62d788d152a1e2eddc300b70cfa Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Thu, 21 Jun 2001 00:16:36 +0000 Subject: [PATCH] Fixed small error in bracketing git-svn-id: file:///svn/phpbb/trunk@519 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewforum.php | 4 ++-- 1 file 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);