aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bridges/InstructablesBridge.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/bridges/InstructablesBridge.php b/bridges/InstructablesBridge.php
index 878bfdbe..98987944 100644
--- a/bridges/InstructablesBridge.php
+++ b/bridges/InstructablesBridge.php
@@ -269,7 +269,7 @@ class InstructablesBridge extends BridgeAbstract {
public function getName() {
switch($this->queriedContext) {
- case 'Category': {
+ case 'Category':
foreach(self::PARAMETERS[$this->queriedContext]['category']['values'] as $key => $value) {
$subcategory = array_search($this->getInput('category'), $value);
@@ -283,7 +283,6 @@ class InstructablesBridge extends BridgeAbstract {
);
return $subcategory . ' (' . $filter . ') - ' . static::NAME;
- } break;
}
return parent::getName();
@@ -291,11 +290,10 @@ class InstructablesBridge extends BridgeAbstract {
public function getURI() {
switch($this->queriedContext) {
- case 'Category': {
+ case 'Category':
return self::URI
. $this->getInput('category')
. $this->getInput('filter');
- } break;
}
return parent::getURI();