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()
109109
110110 $ isNeedCreateLabel = isset ($ data ['create_shipping_label ' ]) && $ data ['create_shipping_label ' ];
111111
112+ $ responseAjax = new \Magento \Framework \DataObject ();
113+
112114 try {
113115 $ this ->shipmentLoader ->setOrderId ($ this ->getRequest ()->getParam ('order_id ' ));
114116 $ this ->shipmentLoader ->setShipmentId ($ this ->getRequest ()->getParam ('shipment_id ' ));
@@ -143,7 +145,6 @@ public function execute()
143145 $ shipment ->register ();
144146
145147 $ shipment ->getOrder ()->setCustomerNoteNotify (!empty ($ data ['send_email ' ]));
146- $ responseAjax = new \Magento \Framework \DataObject ();
147148
148149 if ($ isNeedCreateLabel ) {
149150 $ this ->labelGenerator ->create ($ shipment , $ this ->_request );
You can’t perform that action at this time.
0 commit comments