Skip to content

Commit 1252ea3

Browse files
Merge branch 'MAGETWO-48970' of https://github.corp.magento.com/magento-tango/magento2ce into MAGETWO-51470
2 parents 3d3585e + 56a3b57 commit 1252ea3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/code/Magento/Cms/view/adminhtml/layout/cms_page_edit.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
*/
77
-->
88
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
9-
<update handle="styles"/>
109
<body>
1110
<referenceContainer name="content">
1211
<uiComponent name="cms_page_form"/>

app/code/Magento/Widget/Model/Widget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ public function getWidgetDeclaration($type, $params = [], $asIs = true)
309309
} elseif (trim($value) == '') {
310310
$widget = $this->getConfigAsObject($type);
311311
$parameters = $widget->getParameters();
312-
if (is_object($parameters[$name])) {
312+
if (isset($parameters[$name]) && is_object($parameters[$name])) {
313313
$value = $parameters[$name]->getValue();
314314
}
315315
}

0 commit comments

Comments
 (0)