From 6eaf5bcde3148a43e8f74c4e28f23eaa6ac2baf7 Mon Sep 17 00:00:00 2001 From: Cody Finegan Date: Thu, 14 Jul 2022 10:47:57 +1200 Subject: [PATCH] TL-34383 8.1 compatibility fixes --- src/Compiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compiler.php b/src/Compiler.php index 9a5433b0..dd4ae8e3 100644 --- a/src/Compiler.php +++ b/src/Compiler.php @@ -6250,7 +6250,7 @@ protected function handleImportLoop($name) continue; } - $file = $this->sourceNames[$env->block->sourceIndex]; + $file = $this->sourceNames[$env->block->sourceIndex] ?? ''; if ($file === null) { continue;