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

merge-requests/26/head
David Rothstein 2012-05-25 00:41:30 -04:00
parent 4c6faf1d95
commit e2bcdbcedb
1 changed files with 2 additions and 1 deletions

View File

@ -162,7 +162,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'] : '');
}