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));