diff --git a/typo3/sysext/backend/Classes/Backend/ToolbarItems/ShortcutToolbarItem.php b/typo3/sysext/backend/Classes/Backend/ToolbarItems/ShortcutToolbarItem.php index 37dfe1f884e87606812e2291cce4155021fb67a0..7cddfd89fa6fda0185d583b39a1eb755d3347697 100644 --- a/typo3/sysext/backend/Classes/Backend/ToolbarItems/ShortcutToolbarItem.php +++ b/typo3/sysext/backend/Classes/Backend/ToolbarItems/ShortcutToolbarItem.php @@ -661,7 +661,7 @@ class ShortcutToolbarItem implements ToolbarItemInterface { ); $result = $databaseConnection->exec_SELECT_queryArray($sqlQueryParts); $row = $databaseConnection->sql_fetch_assoc($result); - $icon = IconUtility::getSpriteIconForRecord($table, $row, array('title' => $titleAttribute)); + $icon = IconUtility::getSpriteIconForRecord($table, (array)$row, array('title' => $titleAttribute)); } elseif ($shortcut['type'] == 'new') { $icon = IconUtility::getSpriteIconForRecord($table, array(), array('title' => $titleAttribute)); }