forked from Wavyzz/dolibarr
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
@@ -11371,7 +11371,7 @@ function isVisibleToUserType($type_user, &$menuentry, &$listofmodulesforexternal
|
||||
*/
|
||||
function roundUpToNextMultiple($n, $x = 5)
|
||||
{
|
||||
$result = (ceil($n) % $x === 0) ? ceil($n) : round(($n + $x / 2) / $x) * $x;
|
||||
$result = (ceil($n) % $x === 0) ? ceil($n) : (round(($n + $x / 2) / $x) * $x);
|
||||
return (int) $result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user