Browse Source

Show latest event in history for USPS tracking

master
Skylar Ittner 1 month ago
parent
commit
478440be08
  1. 2
      lib/Tracking_USPS.lib.php

2
lib/Tracking_USPS.lib.php

@ -72,6 +72,8 @@ class Tracking_USPS {
$current_status->setLocation($current_location);
$info->setCurrentStatus($current_status);
// USPS doesn't put the latest entry in the history
$info->appendHistoryEntry($current_status);
$from = new Location();
$from->city = (string) $trackinfo->OriginCity ?? "";

Loading…
Cancel
Save