Commit 9b364298 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) respect defaults in system_gateways_edit.php

(cherry picked from commit 688f6574)
parent 750769de
......@@ -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