From c4444e76c9009fc166a7e5508a941f3c19562247 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milise=20Prim?= Date: Mon, 24 Oct 2022 21:53:10 +0200 Subject: [PATCH] FIX Undefined variable $backtopage --- htdocs/core/actions_linkedfiles.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/actions_linkedfiles.inc.php b/htdocs/core/actions_linkedfiles.inc.php index b89d5bf6cb0..93d1e8463ec 100644 --- a/htdocs/core/actions_linkedfiles.inc.php +++ b/htdocs/core/actions_linkedfiles.inc.php @@ -160,7 +160,7 @@ if ($action == 'confirm_deletefile' && $confirm == 'yes' && !empty($permissionto } if (is_object($object) && $object->id > 0) { - if ($backtopage) { + if (isset($backtopage)) { header('Location: '.$backtopage); exit; } else {