We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5229f98 commit 9a90aabCopy full SHA for 9a90aab
1 file changed
classes/issue.class.php
@@ -943,7 +943,7 @@ public function getDrift($withSupport = TRUE) {
943
// but the Reestimated depends on mgrEffortEstim, because duration = max(effortEstim, mgrEffortEstim)
944
// so getReestimated cannot be used here.
945
946
- $bl = (float) $this->getBacklog();
+ $bl = $this->getBacklog(); // do not cast in (float) !
947
// WARN: in PHP '0' and NULL are same, so you need to check with is_null() !
948
if ( !is_null($bl) && is_numeric($bl)) {
949
$localReestimated = (float) $this->getElapsed() + $bl;
0 commit comments