Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

[hotfix/ZF2-79] Zend\Form #523

Closed
wants to merge 1 commit into from

2 participants

Thomas Weidner Matthew Weier O'Phinney
Thomas Weidner
  • fixed file decorator
Matthew Weier O'Phinney

Reviewed, merged, and pushed to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 22, 2011
  1. Thomas Weidner

    [hotfix/ZF2-79] Zend\Form

    thomasweidner authored
    - fixed file decorator
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 library/Zend/Form/Decorator/File.php
4 library/Zend/Form/Decorator/File.php
View
@@ -124,10 +124,10 @@ public function render($content)
for ($i = 0; $i < $count; ++$i) {
$htmlAttribs = $attribs;
$htmlAttribs['id'] .= '-' . $i;
- $markup[] = $view->formFile($name, null, $htmlAttribs);
+ $markup[] = $view->formFile($name, $htmlAttribs);
}
} else {
- $markup[] = $view->formFile($name, null, $attribs);
+ $markup[] = $view->formFile($name, $attribs);
}
$markup = implode($separator, $markup);
Something went wrong with that request. Please try again.