mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
BUGFIX getCompletedPercent was calling non-existing properties
This commit is contained in:
parent
cdeba8aa20
commit
3d072f5e0d
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user