mirror of
https://github.com/getgrav/grav.git
synced 2026-05-07 10:17:16 +02:00
Merge pull request #236 from flaviocopes/patch-4
Correctly instantiate the Inflector
This commit is contained in:
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user