Code Duplication    Length = 2-2 lines in 2 locations

Sources/Post.php 2 locations

@@ 1440-1441 (lines=2) @@
1437
	if (!empty($topic) && !isset($_REQUEST['msg']))
1438
	{
1439
		// Don't allow a post if it's locked.
1440
		if ($topic_info['locked'] != 0 && !allowedTo('moderate_board'))
1441
			fatal_lang_error('topic_locked', false);
1442
1443
		// Sorry, multiple polls aren't allowed... yet.  You should stop giving me ideas :P.
1444
		if (isset($_REQUEST['poll']) && $topic_info['id_poll'] > 0)
@@ 1594-1595 (lines=2) @@
1591
		$row = $smcFunc['db_fetch_assoc']($request);
1592
		$smcFunc['db_free_result']($request);
1593
1594
		if (!empty($topic_info['locked']) && !allowedTo('moderate_board'))
1595
			fatal_lang_error('topic_locked', false);
1596
1597
		if (isset($_POST['lock']))
1598
		{