Code Duplication    Length = 2-2 lines in 2 locations

Sources/ScheduledTasks.php 2 locations

@@ 591-592 (lines=2) @@
588
		}
589
590
		$types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'] = array();
591
		if (!empty($notify['topics'][$row['id_topic']]))
592
			$types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'] = array_merge($types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'], $notify['topics'][$row['id_topic']]);
593
		if (!empty($notify['boards'][$row['id_board']]))
594
			$types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'] = array_merge($types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'], $notify['boards'][$row['id_board']]);
595
	}
@@ 593-594 (lines=2) @@
590
		$types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'] = array();
591
		if (!empty($notify['topics'][$row['id_topic']]))
592
			$types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'] = array_merge($types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'], $notify['topics'][$row['id_topic']]);
593
		if (!empty($notify['boards'][$row['id_board']]))
594
			$types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'] = array_merge($types[$row['note_type']][$row['id_board']]['lines'][$row['id_topic']]['members'], $notify['boards'][$row['id_board']]);
595
	}
596
	$smcFunc['db_free_result']($request);
597