Browse Source

It's always better to initialize variable...unless you want to have troubles... fixed a bug in deny board access that when denied it was impossible to move back to allowed

Signed-off-by: emanuele <[email protected]>
emanuele 12 years ago
parent
commit
aa4fb5b64d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Sources/ManageBoards.php

+ 1 - 0
Sources/ManageBoards.php

@@ -624,6 +624,7 @@ function EditBoard2()
 		$boardOptions['override_theme'] = isset($_POST['override_theme']);
 		$boardOptions['board_theme'] = (int) $_POST['boardtheme'];
 		$boardOptions['access_groups'] = array();
+		$boardOptions['deny_groups'] = array();
 
 		if (!empty($_POST['groups']))
 			foreach ($_POST['groups'] as $group => $action)