Code Duplication    Length = 2-2 lines in 2 locations

Sources/Load.php 2 locations

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