aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/template.class.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/template.class.php b/include/template.class.php
index deef61af5..a3f4674ae 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -1373,7 +1373,10 @@ final class FileCombiner
{
$this->flush_pending($result, $pending, $key, $force);
$key = $this->is_css ? array(get_absolute_root_url(false)): array(); //because for css we modify bg url
- $pending = array($combinable);
+ if ($combinable->is_remote())
+ $result[] = $combinable;
+ else
+ $pending = array($combinable);
}
}
$this->flush_pending($result, $pending, $key, $force);