Skip to content
Snippets Groups Projects
Commit 6f426fb0 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev rgaa

fix errors
parent de4d23e1
Branches
Tags
3 merge requests!896Master,!799Dev 17875 rgaa,!788Dev 17875 rgaa
......@@ -27,18 +27,15 @@ class ZendAfi_Form_Decorator_Table extends Zend_Form_Decorator_Abstract {
if (null === $view) {
return $content;
}
xdebug_break();
$summary = $element->getAttrib('summary');
$attribs = array_merge($this->getOptions(), $summary);
$attribs = $this->getOptions();
$name = $element->getFullyQualifiedName();
if (null !== $summary) {
if (null !== ($translator = $element->getTranslator())) {
$summary = $translator->translate($summary);
}
if ($summary)
$attribs['summary'] = $summary;
}
return $view->table($name, $content, $attribs);
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment