From 874bf8ed4433879bf0b4c8e5f5853234021c4da1 Mon Sep 17 00:00:00 2001 From: Francis Appels Date: Tue, 6 Jul 2021 16:39:58 +0200 Subject: [PATCH] backtopageforcancel can be set but empty --- htdocs/product/inventory/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/inventory/card.php b/htdocs/product/inventory/card.php index 754c2b64155..067869ba5ba 100644 --- a/htdocs/product/inventory/card.php +++ b/htdocs/product/inventory/card.php @@ -183,7 +183,7 @@ if ($action == 'create') { if ($backtopage) { print ''; } - if (isset($backtopageforcancel)) { + if (!empty($backtopageforcancel)) { print ''; }