From: Miguel Dantas Date: Tue, 23 Jul 2019 10:08:48 +0000 (+0100) Subject: [Embed] Fixed use of undefined variable in fixup_files script X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dbde8383c978493e344f0adaa318021fccaf7003;p=quix0rs-gnu-social.git [Embed] Fixed use of undefined variable in fixup_files script --- 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));