From b1a834801bcf4646fbd38d4f9655a0c6e1062772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Mazi=C3=A8re?= Date: Mon, 29 Aug 2016 13:27:30 +0200 Subject: [PATCH] [BridgeAbstract] fix empty parameter context MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pierre Mazière --- lib/Bridge.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Bridge.php b/lib/Bridge.php index d2c8ada..c8f5cba 100644 --- a/lib/Bridge.php +++ b/lib/Bridge.php @@ -352,6 +352,9 @@ abstract class BridgeAbstract implements BridgeInterface { } // Only keep guessed context parameters values + if(!isset($this->inputs[$this->queriedContext])){ + $this->inputs[$this->queriedContext]=array(); + } $this->inputs=array($this->queriedContext=>$this->inputs[$this->queriedContext]); $this->collectData();