Don't show the combined CSS/JS elements if we didn't combine anything.

Fixes ticket #554.
This commit is contained in:
Bharat Mediratta
2009-07-17 18:24:31 -07:00
parent 6200955003
commit d692002bcf

View File

@@ -73,6 +73,10 @@ class Gallery_View_Core extends View {
protected function combine_files($files, $type) {
$links = array();
if (empty($files)) {
return;
}
// Include the url in the cache key so that if the Gallery moves, we don't use old cached
// entries.
$key = array(url::abs_file(""));