From 4a361bbb07c9e97ffa95afcd4a33ee3a5cc596a6 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Tue, 28 Nov 2023 11:20:15 +0100 Subject: uppercase set code --- mtg-pdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mtg-pdf.php') 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], ]; } -- cgit v1.2.3