Merge pull request #236 from flaviocopes/patch-4

Correctly instantiate the Inflector
This commit is contained in:
Andy Miller
2015-07-31 08:34:27 -06:00

View File

@@ -349,8 +349,7 @@ class GPM extends Iterator
public function findPackages($searches = [])
{
$packages = ['total' => 0, 'not_found' => []];
$inflector = $this->grav['inflector'];
$inflector = new Inflector();
foreach ($searches as $search) {
$repository = '';