Merge pull request #16 from sheadawson/master

FIX getCompletedPercent was calling non-existing properties
This commit is contained in:
Will Rossiter 2013-12-02 22:59:53 -08:00
commit f3e91f06ed
1 changed files with 1 additions and 1 deletions

View File

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