Răsfoiți Sursa

! Fixing a complex permissions call

Signed-off-by: John Rayes <[email protected]>
John Rayes 12 ani în urmă
părinte
comite
b8b2d45853
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Sources/MessageIndex.php

+ 1 - 1
Sources/MessageIndex.php

@@ -702,7 +702,7 @@ function QuickModeration()
 		 * @todo Ugly. There's no getting around this, is there?
 		 * @todo Maybe just do this on the actions people want to use?
 		 */
-		$boards_can = boardsAllowedTo(array('make_sticky', 'move_any', 'move_own', 'remove_any', 'remove_own', 'lock_any', 'lock_own', 'merge_any', 'approve_posts'));
+		$boards_can = boardsAllowedTo(array('make_sticky', 'move_any', 'move_own', 'remove_any', 'remove_own', 'lock_any', 'lock_own', 'merge_any', 'approve_posts'), true, false);
 
 		$redirect_url = isset($_POST['redirect_url']) ? $_POST['redirect_url'] : (isset($_SESSION['old_url']) ? $_SESSION['old_url'] : '');
 	}