Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
9152f86b
Commit
9152f86b
authored
Mar 13, 2017
by
Côme Chilliet
Browse files
Fixes
#5422
Fixing UnitIntAttribute broken since 1.0.18
See commit
334eca15
parent
e49293cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/simpleplugin/class_helpersAttribute.inc
View file @
9152f86b
...
...
@@ -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
]);
}
...
...
Côme Chilliet
@cchilliet
mentioned in issue #1731
·
Sep 02, 2017
mentioned in issue #1731
mentioned in issue #1731
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment