diff options
author | mistic100 <mistic@piwigo.org> | 2013-12-21 21:39:41 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2013-12-21 21:39:41 +0000 |
commit | e1c2ba81b17e65e398bd24ff9c0694b9c400aeb7 (patch) | |
tree | d0ebf070779ce31821ec319327d0d508c6ae0157 /include | |
parent | 336ac0b8e6d2fbf4036e0440379cb5ba43df4379 (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.php | 2 |
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); |