[Form] Fix the Form fluid interface

This commit is contained in:
Victor Berchet 2011-05-11 17:08:53 +02:00
parent eca6453558
commit f68d16fdff

View File

@ -459,7 +459,7 @@ class Form implements \IteratorAggregate, FormInterface
public function bind($clientData)
{
if ($this->readOnly) {
return;
return $this;
}
if (is_scalar($clientData) || null === $clientData) {