Commit 08e0e665 authored by Arnaud Pauget's avatar Arnaud Pauget
Browse files

fix(20439) : Change params to accept Octave messages

parent 3cb82cc4
Pipeline #17564 failed with stages
in 22 seconds
......@@ -119,15 +119,16 @@ class ArchiveTransfer extends abstractMessage
foreach ($confParams as $name => $confParam) {
// Default value
$param = "";
if (isset($confParam["default"])) {
$value = $confParam["default"];
$param = $confParam["default"];
}
if (isset($params[$name]) && $params[$name] !== "") {
$value = $params[$name];
$param = $params[$name];
}
$params[$name] = $value;
// $params[$name] = $value;
if ($param == "") {
if (isset($confParam["required"]) && $confParam["required"]) {
......
Supports Markdown
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