From e1c2ba81b17e65e398bd24ff9c0694b9c400aeb7 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 21 Dec 2013 21:39:41 +0000 Subject: feature 2985: missing multiplier when comparing css orders git-svn-id: http://piwigo.org/svn/trunk@26073 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/template.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/template.class.php') 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); -- cgit v1.2.3