From dbde8383c978493e344f0adaa318021fccaf7003 Mon Sep 17 00:00:00 2001 From: Miguel Dantas Date: Tue, 23 Jul 2019 11:08:48 +0100 Subject: [PATCH] [Embed] Fixed use of undefined variable in fixup_files script --- plugins/Embed/scripts/fixup_files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Embed/scripts/fixup_files.php b/plugins/Embed/scripts/fixup_files.php index 0697714b94..eca3902c64 100755 --- a/plugins/Embed/scripts/fixup_files.php +++ b/plugins/Embed/scripts/fixup_files.php @@ -168,7 +168,7 @@ while ($fn->fetch()) { } - if ($fetch === true && !$dry) { + if (isset($fetch) && $fetch === true && !$dry) { $fetch = false; echo "Attempting to fetch Embed data\n"; Event::handle('EndFileSaveNew', array($f)); -- 2.39.5