@@ -664,7 +664,8 @@  | 
                                                    ||
| 664 | 664 | ))  | 
                                                        
| 665 | 665 | );  | 
                                                        
| 666 | 666 | |
| 667 | -	if (!empty($boardOptions['deny_groups']) || !empty($boardOptions['access_groups'])) { | 
                                                        |
| 667 | + if (!empty($boardOptions['deny_groups']) || !empty($boardOptions['access_groups']))  | 
                                                        |
| 668 | +	{ | 
                                                        |
| 668 | 669 | // Before we add new access_groups or deny_groups, remove all of the old entries  | 
                                                        
| 669 | 670 |  		$smcFunc['db_query']('', ' | 
                                                        
| 670 | 671 |  			DELETE FROM {db_prefix}board_permissions_view |