Browse Source

FIX Use strings for type keys

Simon Welsh 11 years ago
parent
commit
c3c9d4b2c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Packagist/WebBundle/Controller/WebController.php

+ 1 - 1
src/Packagist/WebBundle/Controller/WebController.php

@@ -281,7 +281,7 @@ class WebController extends Controller
                         $params['tags'] = (array) $tagsFilter;
                     }
                     if ($typeFilter) {
-                        $params['type'] = (array) $typeFilter;
+                        $params['type'] = $typeFilter;
                     }
                     $result['next'] = $this->generateUrl('search', $params, true);
                 }