diff --git a/bridges/MangareaderBridge.php b/bridges/MangareaderBridge.php index ce93ed3..23a8dea 100644 --- a/bridges/MangareaderBridge.php +++ b/bridges/MangareaderBridge.php @@ -1,5 +1,4 @@ array( 'name'=>'Limit', 'type'=>'number', - 'exampleValue'=>10, + 'defaultValue'=>10, 'title'=>'Number of items to return [-1 returns all]' ) ) @@ -154,7 +153,7 @@ class MangareaderBridge extends BridgeAbstract{ case 'Get manga updates': $limit = $this->getInput('limit'); if(empty($limit)){ - $limit = MANGAREADER_LIMIT; + $limit = self::PARAMETERS[$this->queriedContext]['limit']['defaultValue']; } $this->request = $xpath->query(".//*[@id='mangaproperties']//*[@class='aname']")->item(0)->nodeValue;