File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Controller/Adminhtml/Product Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,8 @@ protected function _prepareForm()
84
84
'review/*/save ' ,
85
85
[
86
86
'id ' => $ this ->getRequest ()->getParam ('id ' ),
87
- 'ret ' => $ this ->_coreRegistry ->registry ('ret ' )
87
+ 'ret ' => $ this ->_coreRegistry ->registry ('ret ' ),
88
+ 'productId ' => $ this ->getRequest ()->getParam ('productId ' )
88
89
]
89
90
),
90
91
'method ' => 'post ' ,
Original file line number Diff line number Diff line change @@ -73,6 +73,10 @@ public function execute()
73
73
} else {
74
74
$ resultRedirect ->setPath ('*/*/ ' );
75
75
}
76
+ $ productId = (int )$ this ->getRequest ()->getParam ('productId ' );
77
+ if ($ productId ) {
78
+ $ resultRedirect ->setPath ("catalog/product/edit/id/ $ productId " );
79
+ }
76
80
return $ resultRedirect ;
77
81
}
78
82
$ resultRedirect ->setPath ('review/*/ ' );
You can’t perform that action at this time.
0 commit comments