(legacy) fix system_gateways_edit.php

This commit is contained in:
Ad Schellevis 2015-12-04 13:57:01 +01:00
parent 688f657404
commit 30b63eeb65

View File

@ -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'];
}