Code Duplication    Length = 2-2 lines in 2 locations

Sources/PersonalMessage.php 2 locations

@@ 589-590 (lines=2) @@
586
		$pmID = (int) $_GET['pmid'];
587
588
		// Make sure you have access to this PM.
589
		if (!isAccessiblePM($pmID, $context['folder'] == 'sent' ? 'outbox' : 'inbox'))
590
			fatal_lang_error('no_access', false);
591
592
		$context['current_pm'] = $pmID;
593
@@ 641-642 (lines=2) @@
638
	{
639
		$pmsg = (int) $_GET['pmsg'];
640
641
		if (!isAccessiblePM($pmsg, $context['folder'] == 'sent' ? 'outbox' : 'inbox'))
642
			fatal_lang_error('no_access', false);
643
	}
644
645
	// Set up the page index.