Code Duplication    Length = 2-2 lines in 2 locations

sources/Load.php 2 locations

@@ 2591-2592 (lines=2) @@
2588
		{
2589
			$context['security_controls_query']['title'] = $txt['query_command_denied'];
2590
			$show_warnings = true;
2591
			foreach ($_SESSION['query_command_denied'] as $command => $error)
2592
				$context['security_controls_query']['errors'][$command] = '<pre>' . Util::htmlspecialchars($error) . '</pre>';
2593
		}
2594
		else
2595
		{
@@ 2597-2598 (lines=2) @@
2594
		else
2595
		{
2596
			$context['security_controls_query']['title'] = $txt['query_command_denied_guests'];
2597
			foreach ($_SESSION['query_command_denied'] as $command => $error)
2598
				$context['security_controls_query']['errors'][$command] = '<pre>' . sprintf($txt['query_command_denied_guests_msg'], Util::htmlspecialchars($command)) . '</pre>';
2599
		}
2600
	}
2601