aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/template.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/template.class.php b/include/template.class.php
index 32c224581..56ef8cb60 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -750,7 +750,7 @@ var s,after = document.getElementsByTagName(\'script\')[document.getElementsByTa
$params['id'] = md5($params['path']);
}
- $this->cssLoader->add($params['id'], $params['path'], (int)@$params['version'], (int)@$params['order'], (bool)@$params['template']);
+ $this->cssLoader->add($params['id'], $params['path'], isset($params['version']) ? $params['version'] : 0, (int)@$params['order'], (bool)@$params['template']);
}
function func_get_combined_css($params)
@@ -1437,7 +1437,7 @@ final class FileCombiner
return $result;
}
- private function flush_pending(&$result, $pending, $key, $force)
+ private function flush_pending(&$result, &$pending, $key, $force)
{
if (count($pending)>1)
{