diff --git a/src/Symfony/Bundle/FrameworkBundle/Templating/Form/Field.php b/src/Symfony/Bundle/FrameworkBundle/Templating/Form/Field.php index 052ddce0b5224..f1c503e0f5f76 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Templating/Form/Field.php +++ b/src/Symfony/Bundle/FrameworkBundle/Templating/Form/Field.php @@ -49,14 +49,14 @@ public function widget(array $attributes = array(), $template = null) } return $this->engine->render($template, array( - 'field' => $this, + 'field' => $this->field, 'origin' => $this->field, 'attributes' => array_merge($this->field->getAttributes(), $attributes), 'generator' => $this->generator, )); } - public function label($label, $template = null) + public function label($label = false, $template = null) { if (null === $template) { $template = 'FrameworkBundle:Form:label.php'; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy