aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-12-21 21:39:41 +0000
committermistic100 <mistic@piwigo.org>2013-12-21 21:39:41 +0000
commite1c2ba81b17e65e398bd24ff9c0694b9c400aeb7 (patch)
treed0ebf070779ce31821ec319327d0d508c6ae0157
parent336ac0b8e6d2fbf4036e0440379cb5ba43df4379 (diff)
feature 2985: missing multiplier when comparing css orders
git-svn-id: http://piwigo.org/svn/trunk@26073 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/template.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/template.class.php b/include/template.class.php
index 81e21e9a8..a8a4a8062 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -1396,7 +1396,7 @@ class CssLoader
else
{
$css = $this->registered_css[$id];
- if ($css->order<$order || version_compare($css->version, $version)<0)
+ if ($css->order<$order*1000 || version_compare($css->version, $version)<0)
{
unset($this->registered_css[$id]);
$this->add($id, $path, $version, $order, $is_template);