[Embed] Fixed use of undefined variable in fixup_files script

This commit is contained in:
Miguel Dantas 2019-07-23 11:08:48 +01:00 committed by Diogo Cordeiro
parent 6d552f15b6
commit dbde8383c9

View File

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