From 6dd45eae579b26669b255fefc38738405ca6947a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Mazi=C3=A8re?= Date: Thu, 25 Aug 2016 00:19:41 +0200 Subject: [PATCH] [DailymotionBridge] fix parameters 'p' and 's' requirement status MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pierre Mazière --- bridges/DailymotionBridge.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bridges/DailymotionBridge.php b/bridges/DailymotionBridge.php index ead3763..89b4cb3 100644 --- a/bridges/DailymotionBridge.php +++ b/bridges/DailymotionBridge.php @@ -17,11 +17,16 @@ class DailymotionBridge extends BridgeAbstract{ $this->parameters["By playlist id"] = array( 'p'=>array( 'name'=>'playlist id', - 'type'=>'text') + 'type'=>'text', + 'required'=>true + ) ); $this->parameters["From search results"] = array( - 's'=>array('name'=>'Search keyword'), + 's'=>array( + 'name'=>'Search keyword', + 'required'=>true + ), 'pa'=>array( 'name'=>'Page', 'type'=>'number'