Code Duplication    Length = 4-4 lines in 2 locations

mail/inc/class.mail_ui.inc.php 2 locations

@@ 4586-4589 (lines=4) @@
4583
						!($flag2check==$query['filter'] || stripos($query['filter'],$flag2check)!==false))
4584
					{
4585
						$filter2toggle['status'] = array('un'.$_flag);
4586
						if ($query['filter'] && $query['filter']!='any')
4587
						{
4588
							$filter2toggle['status'][] = $query['filter'];
4589
						}
4590
						$rByUid = true;
4591
						$reverse = 1;
4592
						$_sRt = $this->mail_bo->getSortedList(
@@ 4602-4605 (lines=4) @@
4599
						);
4600
						$messageListForToggle = $_sRt['match']->ids;
4601
						$filter['status'] = array($_flag);
4602
						if ($query['filter'] && $query['filter'] !='any')
4603
						{
4604
							$filter['status'][] = $query['filter'];
4605
						}
4606
						$rByUid=true;
4607
						$reverse = 1;
4608
						$_sR = $this->mail_bo->getSortedList(