[BridgeAbstract] Fix broken assignment of defaultValue
setInputs() currently looks if the global array defines a 'value' for a given parameter, but that isn't supported by the API. It needs to be 'defaultValue'.
This commit is contained in:
parent
50eee7e7b3
commit
5f64fe2516
1 changed files with 2 additions and 2 deletions
|
@ -165,8 +165,8 @@ abstract class BridgeAbstract implements BridgeInterface {
|
|||
foreach(static::PARAMETERS['global'] as $name => $properties) {
|
||||
if(isset($inputs[$name])) {
|
||||
$value = $inputs[$name];
|
||||
} elseif(isset($properties['value'])) {
|
||||
$value = $properties['value'];
|
||||
} elseif(isset($properties['defaultValue'])) {
|
||||
$value = $properties['defaultValue'];
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue