Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[Form] Fix two cases where deprecated methods were being used

  • Loading branch information...
commit b13a5a58e8fc9cead89143ed0c18428d4470194e 1 parent 58d0921
@colinfrei colinfrei authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  Form.php
  2. +1 −1  Util/VirtualFormAwareIterator.php
View
2  Form.php
@@ -655,7 +655,7 @@ public function bindRequest(Request $request)
*/
public function addError(FormError $error)
{
- if ($this->parent && $this->getErrorBubbling()) {
+ if ($this->parent && $this->config->getErrorBubbling()) {
$this->parent->addError($error);
} else {
$this->errors[] = $error;
View
2  Util/VirtualFormAwareIterator.php
@@ -23,7 +23,7 @@ class VirtualFormAwareIterator extends \ArrayIterator implements \RecursiveItera
{
public function getChildren()
{
- return new self($this->current()->getChildren());
+ return new self($this->current()->all());
}
public function hasChildren()
Please sign in to comment.
Something went wrong with that request. Please try again.