Browse Source

! Fix some typos, should fix #1020

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 10 years ago
parent
commit
70ad72ddd3
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Sources/Display.php
  2. 1 1
      Sources/MessageIndex.php

+ 1 - 1
Sources/Display.php

@@ -1098,7 +1098,7 @@ function Display()
 
 		/* You can't move this unless you have permission
 			to start new topics on at least one other board */
-		$context['move'] &= count($boards_allowed) > 1;
+		$context['can_move'] &= count($boards_allowed) > 1;
 	}
 
 	// Cleanup all the permissions with extra stuff...

+ 1 - 1
Sources/MessageIndex.php

@@ -748,7 +748,7 @@ function QuickModeration()
 	}
 
 	// Are we enforcing the "no moving topics to boards where you can't post new ones" rule?
-	if (!$user_info['is_amdin'] && !$modSettings['topic_move_any'])
+	if (!$user_info['is_admin'] && !$modSettings['topic_move_any'])
 	{
 		// Don't count this board, if it's specified
 		if (!empty($board))