Code Duplication    Length = 2-2 lines in 2 locations

Sources/Load.php 2 locations

@@ 2484-2485 (lines=2) @@
2481
	}
2482
2483
	// Add it to the array for use in the template
2484
	if (!empty($fileName))
2485
		$context['css_files'][$id] = array('fileUrl' => $fileUrl, 'filePath' => $filePath, 'fileName' => $fileName, 'options' => $params);
2486
2487
	if (!empty($context['right_to_left']) && !empty($params['rtl']))
2488
		loadCSSFile($params['rtl'], array_diff_key($params, array('rtl' => 0)));
@@ 2584-2585 (lines=2) @@
2581
	}
2582
2583
	// Add it to the array for use in the template
2584
	if (!empty($fileName))
2585
		$context['javascript_files'][$id] = array('fileUrl' => $fileUrl, 'filePath' => $filePath, 'fileName' => $fileName, 'options' => $params);
2586
}
2587
2588
/**