diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-11-28 11:20:15 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-11-28 11:20:15 +0100 |
commit | 4a361bbb07c9e97ffa95afcd4a33ee3a5cc596a6 (patch) | |
tree | a21f6d389f68df9aca70cb631d68b803eb21af9d | |
parent | 1f81312518171b3d1e76613e9bcc4d15c9342282 (diff) |
uppercase set code
-rw-r--r-- | mtg-pdf.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mtg-pdf.php b/mtg-pdf.php index 087ae9e..b5e9fb2 100644 --- a/mtg-pdf.php +++ b/mtg-pdf.php @@ -20,7 +20,7 @@ for ($idx = 0; $idx < count($matches[0]); $idx++) { $cards[] = [ 'quantity' => $matches[1][$idx], 'name' => $matches[2][$idx], - 'set' => $matches[3][$idx], + 'set' => strtoupper($matches[3][$idx]), 'number' => $matches[4][$idx], ]; } |