mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +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:
@@ -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