1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-14 04:24:05 +02:00

fix: various small fixes (#3580)

This commit is contained in:
Dag
2023-07-31 20:43:18 +02:00
committed by GitHub
parent 8b6eecea25
commit 7e4807530e
8 changed files with 35 additions and 14 deletions

View File

@@ -144,6 +144,10 @@ abstract class BridgeAbstract implements BridgeInterface
}
foreach ($contexts as $context) {
if (!isset(static::PARAMETERS[$context])) {
// unknown context provided by client, throw exception here? or continue?
}
foreach (static::PARAMETERS[$context] as $name => $properties) {
if (isset($this->inputs[$context][$name]['value'])) {
continue;