From ca6ecc85489f88795fec498fd3744cffbaab4f33 Mon Sep 17 00:00:00 2001 From: fusionate Date: Wed, 17 May 2023 21:01:43 +0000 Subject: [PATCH] Gateway - Edit: Updates for PHP 8.1 --- app/gateways/gateway_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/gateways/gateway_edit.php b/app/gateways/gateway_edit.php index a1f85ff4d7..524c2adab9 100644 --- a/app/gateways/gateway_edit.php +++ b/app/gateways/gateway_edit.php @@ -162,7 +162,7 @@ } //add or update the database - if ($_POST["persistformvar"] != "true") { + if (empty($_POST["persistformvar"]) || $_POST["persistformvar"] != "true") { //build the gateway array $x = 0;