Commit 30b63eeb authored by Ad Schellevis's avatar Ad Schellevis

(legacy) fix system_gateways_edit.php

parent 688f6574
......@@ -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'];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment