mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-11-06 08:52:29 +01:00
feature 2985: missing multiplier when comparing css orders
git-svn-id: http://piwigo.org/svn/trunk@26073 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
1 parent
336ac0b8e6
commit
e1c2ba81b1
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user