FIX Undefined variable $backtopage

This commit is contained in:
Émilise Prim 2022-10-24 21:53:10 +02:00
parent 6e729d27c7
commit c4444e76c9

View File

@ -160,7 +160,7 @@ if ($action == 'confirm_deletefile' && $confirm == 'yes' && !empty($permissionto
} }
if (is_object($object) && $object->id > 0) { if (is_object($object) && $object->id > 0) {
if ($backtopage) { if (isset($backtopage)) {
header('Location: '.$backtopage); header('Location: '.$backtopage);
exit; exit;
} else { } else {