Code Duplication    Length = 14-14 lines in 2 locations

Sources/Notify.php 2 locations

@@ 73-86 (lines=14) @@
70
	}
71
72
	// Back to the board!
73
	if (isset($_GET['xml']))
74
	{
75
		$context['xml_data']['errors'] = array(
76
			'identifier' => 'error',
77
			'children' => array(
78
				array(
79
					'value' => 0,
80
				),
81
			),
82
		);
83
		$context['sub_template'] = 'generic_xml';
84
	}
85
	else
86
		redirectexit('board=' . $board . '.' . $_REQUEST['start']);
87
}
88
89
/**
@@ 178-191 (lines=14) @@
175
	}
176
177
	// Back to the topic.
178
	if (isset($_GET['xml']))
179
	{
180
		$context['xml_data']['errors'] = array(
181
			'identifier' => 'error',
182
			'children' => array(
183
				array(
184
					'value' => 0,
185
				),
186
			),
187
		);
188
		$context['sub_template'] = 'generic_xml';
189
	}
190
	else
191
		redirectexit('topic=' . $topic . '.' . $_REQUEST['start']);
192
}
193
194
?>