Issue #1517654 by zuuperman: Fixed Strict warning by field_ui_table_pre_render().

8.0.x
catch 2012-05-22 13:07:52 +09:00
parent 9d8b3f59ed
commit faa75e7739
1 changed files with 2 additions and 1 deletions

View File

@ -169,7 +169,8 @@ function field_ui_table_pre_render($elements) {
// Add tabledrag indentation to the first row cell.
if ($depth = count($parents[$name])) {
$cell = current(element_children($row));
$children = element_children($row);
$cell = current($children);
$row[$cell]['#prefix'] = theme('indentation', array('size' => $depth)) . (isset($row[$cell]['#prefix']) ? $row[$cell]['#prefix'] : '');
}