We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e8e03a commit 4accf4bCopy full SHA for 4accf4b
app/code/Magento/Theme/Controller/Adminhtml/Design/Config/Save.php
@@ -121,7 +121,7 @@ protected function getRequestData()
121
* in order to delete value from db config but not set empty string,
122
* which may cause an error in Magento/Theme/Model/ResourceModel/Theme/Collection::getThemeByFullPath().
123
*/
124
- if (isset($data['theme_theme_id']) && !$data['theme_theme_id']) {
+ if (empty($data['theme_theme_id'])) {
125
$data['theme_theme_id'] = null;
126
}
127
0 commit comments