From faa75e7739f9d84de6555ef1703849fec3c99c9f Mon Sep 17 00:00:00 2001 From: catch Date: Tue, 22 May 2012 13:07:52 +0900 Subject: [PATCH] Issue #1517654 by zuuperman: Fixed Strict warning by field_ui_table_pre_render(). --- core/modules/field_ui/field_ui.admin.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/modules/field_ui/field_ui.admin.inc b/core/modules/field_ui/field_ui.admin.inc index c22fe214c83..f6056fa5c38 100644 --- a/core/modules/field_ui/field_ui.admin.inc +++ b/core/modules/field_ui/field_ui.admin.inc @@ -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'] : ''); }