Skip to content

Commit 4accf4b

Browse files
committed
MAGETWO-70642: Magento broken after changing transactional email
1 parent 9e8e03a commit 4accf4b

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Theme/Controller/Adminhtml/Design/Config

1 file changed

+1
-1
lines changed

app/code/Magento/Theme/Controller/Adminhtml/Design/Config/Save.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ protected function getRequestData()
121121
* in order to delete value from db config but not set empty string,
122122
* which may cause an error in Magento/Theme/Model/ResourceModel/Theme/Collection::getThemeByFullPath().
123123
*/
124-
if (isset($data['theme_theme_id']) && !$data['theme_theme_id']) {
124+
if (empty($data['theme_theme_id'])) {
125125
$data['theme_theme_id'] = null;
126126
}
127127

0 commit comments

Comments
 (0)