Code Duplication    Length = 6-6 lines in 2 locations

Sources/Reports.php 2 locations

@@ 959-964 (lines=6) @@
956
		newTable();
957
958
	// Specific table?
959
	if ($custom_table !== null && !isset($context['tables'][$custom_table]))
960
		return false;
961
	elseif ($custom_table !== null)
962
		$table = $custom_table;
963
	else
964
		$table = $context['current_table'];
965
966
	// If we have keys, sanitise the data...
967
	if (!empty($context['keys']))
@@ 1024-1029 (lines=6) @@
1021
		return;
1022
1023
	// Specific table?
1024
	if ($custom_table !== null && !isset($context['tables'][$table]))
1025
		return false;
1026
	elseif ($custom_table !== null)
1027
		$table = $custom_table;
1028
	else
1029
		$table = $context['current_table'];
1030
1031
	// Plumb in the separator
1032
	$context['tables'][$table]['data'][] = array(0 => array(