Fixed small error in bracketing

git-svn-id: file:///svn/phpbb/trunk@519 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-06-21 00:16:36 +00:00
parent 4dd500a575
commit 8276d5728c

View file

@ -119,9 +119,9 @@ if(!$is_auth['auth_read'] || !$is_auth['auth_view'])
// //
// Do the forum Prune // 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'); include('includes/prune.php');
auto_prune($forum_id); auto_prune($forum_id);