Code Duplication    Length = 7-8 lines in 2 locations

Sources/ManageSearch.php 2 locations

@@ 441-448 (lines=8) @@
438
			}
439
			$smcFunc['db_free_result']($request);
440
		}
441
		else
442
			// Didn't work for some reason...
443
			$context['table_info'] = array(
444
				'data_length' => $txt['not_applicable'],
445
				'index_length' => $txt['not_applicable'],
446
				'fulltext_length' => $txt['not_applicable'],
447
				'custom_index_length' => $txt['not_applicable'],
448
			);
449
	}
450
	else
451
		$context['table_info'] = array(
@@ 450-456 (lines=7) @@
447
				'custom_index_length' => $txt['not_applicable'],
448
			);
449
	}
450
	else
451
		$context['table_info'] = array(
452
			'data_length' => $txt['not_applicable'],
453
			'index_length' => $txt['not_applicable'],
454
			'fulltext_length' => $txt['not_applicable'],
455
			'custom_index_length' => $txt['not_applicable'],
456
		);
457
458
	// Format the data and index length in kilobytes.
459
	foreach ($context['table_info'] as $type => $size)