File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/code/Magento/Shipping/Controller/Adminhtml/Order/Shipment Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,8 @@ public function execute()
109
109
110
110
$ isNeedCreateLabel = isset ($ data ['create_shipping_label ' ]) && $ data ['create_shipping_label ' ];
111
111
112
+ $ responseAjax = new \Magento \Framework \DataObject ();
113
+
112
114
try {
113
115
$ this ->shipmentLoader ->setOrderId ($ this ->getRequest ()->getParam ('order_id ' ));
114
116
$ this ->shipmentLoader ->setShipmentId ($ this ->getRequest ()->getParam ('shipment_id ' ));
@@ -143,7 +145,6 @@ public function execute()
143
145
$ shipment ->register ();
144
146
145
147
$ shipment ->getOrder ()->setCustomerNoteNotify (!empty ($ data ['send_email ' ]));
146
- $ responseAjax = new \Magento \Framework \DataObject ();
147
148
148
149
if ($ isNeedCreateLabel ) {
149
150
$ this ->labelGenerator ->create ($ shipment , $ this ->_request );
You can’t perform that action at this time.
0 commit comments