File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
app/code/core/Mage/Adminhtml/controllers/System Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ public function saveAction()
132
132
$ session = Mage::getSingleton ('adminhtml/session ' );
133
133
/** @var Mage_Adminhtml_Model_Session $session */
134
134
135
- $ groups = $ this ->getRequest ()->getPost ('groups ' );
135
+ $ groups = $ this ->getRequest ()->getPost ('groups ' , [] );
136
136
137
137
if (isset ($ _FILES ['groups ' ]['name ' ]) && is_array ($ _FILES ['groups ' ]['name ' ])) {
138
138
/**
@@ -180,7 +180,10 @@ public function saveAction()
180
180
Mage::dispatchEvent ("admin_system_config_changed_section_ {$ section }" ,
181
181
['website ' => $ website , 'store ' => $ store ]
182
182
);
183
- $ session ->addSuccess (Mage::helper ('adminhtml ' )->__ ('The configuration has been saved. ' ));
183
+
184
+ if (!empty ($ groups )) {
185
+ $ session ->addSuccess (Mage::helper ('adminhtml ' )->__ ('The configuration has been saved. ' ));
186
+ }
184
187
}
185
188
catch (Mage_Core_Exception $ e ) {
186
189
foreach (explode ("\n" , $ e ->getMessage ()) as $ message ) {
You can’t perform that action at this time.
0 commit comments