From ec2d0ae93e556f2f49d9b0d8dd6525d55575fae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CVeLiTi=E2=80=9D?= <“info@veliti.nl”> Date: Wed, 12 Jun 2024 14:43:25 +0200 Subject: [PATCH] Fix - do not show cancel button --- firmwaretool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmwaretool.php b/firmwaretool.php index dc7d58e..5c46dcd 100644 --- a/firmwaretool.php +++ b/firmwaretool.php @@ -31,7 +31,7 @@ if (isset($_GET['equipmentID'])){$returnpage = 'equipment&equipmentID='.$_GET['e //SHOW BACK BUTTON ONLY FOR PORTAL USERS -if (isAllowed('dashboard',$_SESSION['profile'],$_SESSION['permission'],'R') === 0){ +if (isAllowed('dashboard',$_SESSION['profile'],$_SESSION['permission'],'R') != 0){ $view .= '
'.$button_cancel.'