diff --git a/classes/issue.class.php b/classes/issue.class.php index 0221d6aed..06cbbc455 100644 --- a/classes/issue.class.php +++ b/classes/issue.class.php @@ -943,7 +943,7 @@ public function getDrift($withSupport = TRUE) { // but the Reestimated depends on mgrEffortEstim, because duration = max(effortEstim, mgrEffortEstim) // so getReestimated cannot be used here. - $bl = (float) $this->getBacklog(); + $bl = $this->getBacklog(); // do not cast in (float) ! // WARN: in PHP '0' and NULL are same, so you need to check with is_null() ! if ( !is_null($bl) && is_numeric($bl)) { $localReestimated = (float) $this->getElapsed() + $bl;