File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/core/Mage/Adminhtml/controllers/Catalog Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ public function relatedGridAction()
406
406
$ this ->_initProduct ();
407
407
$ this ->loadLayout ();
408
408
$ this ->getLayout ()->getBlock ('catalog.product.edit.tab.related ' )
409
- ->setProductsRelated ($ this ->getRequest ()->getPost ('products_related ' , null ));
409
+ ->setProductsRelated ($ this ->getRequest ()->getPost ('products_related ' , [] ));
410
410
$ this ->renderLayout ();
411
411
}
412
412
@@ -419,7 +419,7 @@ public function upsellGridAction()
419
419
$ this ->_initProduct ();
420
420
$ this ->loadLayout ();
421
421
$ this ->getLayout ()->getBlock ('catalog.product.edit.tab.upsell ' )
422
- ->setProductsRelated ($ this ->getRequest ()->getPost ('products_upsell ' , null ));
422
+ ->setProductsUpsell ($ this ->getRequest ()->getPost ('products_upsell ' , [] ));
423
423
$ this ->renderLayout ();
424
424
}
425
425
@@ -432,7 +432,7 @@ public function crosssellGridAction()
432
432
$ this ->_initProduct ();
433
433
$ this ->loadLayout ();
434
434
$ this ->getLayout ()->getBlock ('catalog.product.edit.tab.crosssell ' )
435
- ->setProductsRelated ($ this ->getRequest ()->getPost ('products_crosssell ' , null ));
435
+ ->setProductsCrossSell ($ this ->getRequest ()->getPost ('products_crosssell ' , [] ));
436
436
$ this ->renderLayout ();
437
437
}
438
438
@@ -445,7 +445,7 @@ public function superGroupAction()
445
445
$ this ->_initProduct ();
446
446
$ this ->loadLayout ();
447
447
$ this ->getLayout ()->getBlock ('catalog.product.edit.tab.super.group ' )
448
- ->setProductsGrouped ($ this ->getRequest ()->getPost ('products_grouped ' , null ));
448
+ ->setProductsGrouped ($ this ->getRequest ()->getPost ('products_grouped ' , [] ));
449
449
$ this ->renderLayout ();
450
450
}
451
451
You can’t perform that action at this time.
0 commit comments