Skip to content

Commit 12582e9

Browse files
Fix deprecation
1 parent d019dcf commit 12582e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function read_list_id() {
2020
if (!$listName) return null;
2121

2222
$sanitizedListName = preg_replace('/[^A-Za-z0-9_.]/', '_', $listName);
23-
return $_ENV["LIST_ID_${sanitizedListName}"] ?? null;
23+
return $_ENV["LIST_ID_{$sanitizedListName}"] ?? null;
2424
}
2525

2626
function read_message($inputFile) {

0 commit comments

Comments
 (0)