Merge pull request #16 from sheadawson/master
FIX getCompletedPercent was calling non-existing properties
This commit is contained in:
commit
f3e91f06ed
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue