mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-16 06:59:55 -04:00
Don't show the combined CSS/JS elements if we didn't combine anything.
Fixes ticket #554.
This commit is contained in:
@@ -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(""));
|
||||
|
||||
Reference in New Issue
Block a user