Fix typo in $code

Replace $$code with $code 
Unknown period selected
This commit is contained in:
Jaap Marcus committed 2023-02-07 21:13:21 +01:00
1 parent 322370f11c
commit 75c44f230d
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@ class Model_ProductTable implements \Box\InjectionAwareInterface
{
$code = $period->getCode();
try {
return match ($$code) {
return match ($code) {
'1W' => 'w',
'1M' => 'm',
'3M' => 'q',