BUGFIX getCompletedPercent was calling non-existing properties

This commit is contained in:
sheadawson 2013-12-03 17:15:24 +11:00
parent cdeba8aa20
commit 3d072f5e0d

View File

@ -629,7 +629,7 @@ abstract class MultiForm extends Form {
* @return float * @return float
*/ */
public function getCompletedPercent() { public function getCompletedPercent() {
return (float)$this->CompletedStepCount * 100 / $this->TotalStepCount; return (float)$this->getCompletedStepCount() * 100 / $this->getTotalStepCount();
} }
} }