Commit 688f6574 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) respect defaults in system_gateways_edit.php

parent e34dd6a6
......@@ -465,7 +465,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
foreach ($copy_fields as $fieldname) {
if (isset($configId) && isset($a_gateways[$configId][$fieldname])) {
$pconfig[$fieldname] = $a_gateways[$configId][$fieldname];
} else {
} elseif (empty($pconfig[$fieldname]) || isset($configId)) {
$pconfig[$fieldname] = null;
}
}
......
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