소스 검색

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 년 전
부모
커밋
aa4fb5b64d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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)