diff --git a/cli/drivers/DrupalValetDriver.php b/cli/drivers/DrupalValetDriver.php index b5685a685..582ecf7c8 100644 --- a/cli/drivers/DrupalValetDriver.php +++ b/cli/drivers/DrupalValetDriver.php @@ -57,8 +57,8 @@ public function frontControllerPath($sitePath, $siteName, $uri) { $sitePath = $this->addSubdirectory($sitePath); - if (! isset($_GET['q']) && ! empty($uri) && $uri !== '/' && strpos($uri, '/jsonapi/') === false) { - $_GET['q'] = $uri; + if (! isset($_GET['Q']) && ! empty($uri) && $uri !== '/' && strpos($uri, '/jsonapi/') === false) { + $_GET['Q'] = $uri; } $matches = [];