: $value->getDefault();
$tableHtml .= $value->getTableRow( $v );
- if ( $value->getLabel() != ' ' )
+ if ( $value->getLabel() != ' ' ) {
$hasLeftColumn = true;
+ }
} elseif ( is_array( $value ) ) {
$section = $this->displaySection( $value, $key );
$legend = $this->getLegend( $key );
}
$attributes = array();
if ( $displayTitle ) {
- $attributes["title"] = Sanitizer::escapeId( $key );
+ $attributes["id"] = 'prefsection-' . Sanitizer::escapeId( $key, 'noninitial' );
}
$subsectionHtml .= Xml::fieldset( $legend, $section, $attributes ) . "\n";
}