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;