forked from GNUsocial/gnu-social
[Embed] Fixed use of undefined variable in fixup_files script
This commit is contained in:
parent
6d552f15b6
commit
dbde8383c9
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user