Commit 9152f86b authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5422 Fixing UnitIntAttribute broken since 1.0.18

See commit 334eca15
parent e49293cc
......@@ -237,7 +237,7 @@ class UnitIntAttribute extends CompositeAttribute
$i = (count($choices) - 1);
($value % $choices[$i] != 0) && ($i > 0);
$i--
)
);
return array($value / $choices[$i], $choices[$i]);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment