forked from Wavyzz/dolibarr
FIX Undefined variable $backtopage
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user