Skip to content

Commit 0aa983c

Browse files
authored
ENGCOM-3800: [Backport] issue resolved:Undefined Variable $itemsOrderItemId #20082
2 parents 56b9c6c + f378d2b commit 0aa983c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Shipping/Block/Adminhtml/Order/Packaging.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public function getShipment()
7474
* Configuration for popup window for packaging
7575
*
7676
* @return string
77+
* @SuppressWarnings(PHPMD.RequestAwareBlockMethod)
7778
*/
7879
public function getConfigDataJson()
7980
{
@@ -86,7 +87,7 @@ public function getConfigDataJson()
8687
$itemsName = [];
8788
$itemsWeight = [];
8889
$itemsProductId = [];
89-
90+
$itemsOrderItemId = [];
9091
if ($shipmentId) {
9192
$urlParams['shipment_id'] = $shipmentId;
9293
$createLabelUrl = $this->getUrl('adminhtml/order_shipment/createLabel', $urlParams);

0 commit comments

Comments
 (0)