Allow specifying carrier in tracking code too
This commit is contained in:
parent
0993355a52
commit
ea0d7068de
@ -17,7 +17,7 @@ if (!empty($VARS["carrier"])) {
|
||||
if ($carrier == "") {
|
||||
$codeparts = explode(":", $code);
|
||||
if (count($codeparts) == 2) {
|
||||
switch (strtoupper(trim($codeparts[1]))) {
|
||||
switch (strtoupper(trim($codeparts[0]))) {
|
||||
case "FEDEX":
|
||||
$carrier = "fedex";
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user