diff --git a/app/gateways/gateway_edit.php b/app/gateways/gateway_edit.php index 785415e5f7..d10f6c593e 100644 --- a/app/gateways/gateway_edit.php +++ b/app/gateways/gateway_edit.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2016 + Portions created by the Initial Developer are Copyright (C) 2008-2018 the Initial Developer. All Rights Reserved. Contributor(s): @@ -43,7 +43,7 @@ $text = $language->get(); //action add or update - if (isset($_REQUEST["id"])) { + if (isset($_REQUEST["id"]) && is_uuid($_REQUEST["id"])) { $action = "update"; if (isset($_POST["id"])) { $gateway_uuid = check_str($_REQUEST["id"]); @@ -368,7 +368,7 @@ echo " \n"; echo " \n"; if ($action == "update") { - echo " \n"; + echo " \n"; } echo " \n"; echo " \n";