mirror of
https://github.com/getgrav/grav.git
synced 2026-05-07 20:07:36 +02:00
Fixed FlexForm::getValue() call to return the correct data
This commit is contained in:
@@ -96,7 +96,7 @@ class FlexForm implements FlexFormInterface
|
||||
$value = $this->data ? $this->data[$name] : null;
|
||||
|
||||
// Return the form data or fall back to the object property.
|
||||
return $value ?? $this->getObject()->getNestedProperty($name);
|
||||
return $value ?? $this->getObject()->value($name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user