Code Duplication    Length = 2-2 lines in 2 locations

Sources/Load.php 2 locations

@@ 2432-2433 (lines=2) @@
2429
	}
2430
2431
	// Add it to the array for use in the template
2432
	if (!empty($fileName))
2433
		$context['css_files'][$id] = array('fileUrl' => $fileUrl, 'filePath' => $filePath, 'fileName' => $fileName, 'options' => $params);
2434
2435
	if (!empty($context['right_to_left']) && !empty($params['rtl']))
2436
		loadCSSFile($params['rtl'], array_diff_key($params, array('rtl' => 0)));
@@ 2532-2533 (lines=2) @@
2529
	}
2530
2531
	// Add it to the array for use in the template
2532
	if (!empty($fileName))
2533
		$context['javascript_files'][$id] = array('fileUrl' => $fileUrl, 'filePath' => $filePath, 'fileName' => $fileName, 'options' => $params);
2534
}
2535
2536
/**