File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Controller/Adminhtml/Category Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -234,8 +234,7 @@ public function imagePreprocessing($data)
234
234
{
235
235
if (!isset ($ _FILES ) || (isset ($ _FILES ['image ' ]) && $ _FILES ['image ' ]['name ' ] === '' )) {
236
236
unset($ data ['general ' ]['image ' ]);
237
- if (
238
- isset ($ data ['general ' ]['savedImage ' ]['delete ' ]) &&
237
+ if (isset ($ data ['general ' ]['savedImage ' ]['delete ' ]) &&
239
238
$ data ['general ' ]['savedImage ' ]['delete ' ]
240
239
) {
241
240
$ data ['general ' ]['image ' ]['delete ' ] = $ data ['general ' ]['savedImage ' ]['delete ' ];
Original file line number Diff line number Diff line change @@ -571,9 +571,9 @@ public function getStoreIds()
571
571
public function getStoreId ()
572
572
{
573
573
if ($ this ->hasData ('store_id ' )) {
574
- return $ this ->_getData ('store_id ' );
574
+ return ( int ) $ this ->_getData ('store_id ' );
575
575
}
576
- return $ this ->_storeManager ->getStore ()->getId ();
576
+ return ( int ) $ this ->_storeManager ->getStore ()->getId ();
577
577
}
578
578
579
579
/**
You can’t perform that action at this time.
0 commit comments