From 30b63eeb651ce5aaec5a09bb5137a462e742f752 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 4 Dec 2015 13:57:01 +0100 Subject: [PATCH] (legacy) fix system_gateways_edit.php --- src/www/system_gateways_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/system_gateways_edit.php b/src/www/system_gateways_edit.php index 2c8889b62..40a9fcd84 100644 --- a/src/www/system_gateways_edit.php +++ b/src/www/system_gateways_edit.php @@ -325,7 +325,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { } // A result of obfuscating the list of gateways is that over here we need to map things back that should // be aligned with the configuration. Not going to fix this now. - if (isset($id)) { + if (isset($a_gateways[$id]['attribute']) && is_numeric($a_gateways[$id]['attribute']) ) { $realid = $a_gateways[$id]['attribute']; }