PluginProbe
Packeta / 2.1
Packeta v2.1
2.3.2 2.3.1 trunk 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3.0 1.3.1 1.3.2 1.4 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 All 56 releases
← All changes | src/Packetery/Module/Upgrade.php +0 -2 trunk2.1 View file →
@@ -311,9 +311,8 @@
311 311 if ( $this->getMetaAsNullableString( $order, self::META_POINT_ID ) !== null ) {
312 312 $orderEntity->setPickupPoint(
313 313 new Core\Entity\PickupPoint(
314 314 $this->getMetaAsNullableString( $order, self::META_POINT_ID ),
315 - null,
316 315 $this->getMetaAsNullableString( $order, self::META_POINT_NAME ),
317 316 $this->getMetaAsNullableString( $order, self::META_POINT_CITY ),
318 317 $this->getMetaAsNullableString( $order, self::META_POINT_ZIP ),
319 318 $this->getMetaAsNullableString( $order, self::META_POINT_STREET ),
@@ -335,9 +334,8 @@
335 334 $orderEntity->setDeliveryAddress( $validatedAddress );
336 335 }
337 336
338 337 $this->orderRepository->save( $orderEntity );
339 - // Ignore errors. Save the metadata even if the previous call fails.
340 338 $order->save_meta_data();
341 339 }
342 340 }
343 341