Skip to content

Commit

Permalink
Check if argv is set before using it (#3282)
Browse files Browse the repository at this point in the history
  • Loading branch information
hussainweb authored and grasmash committed Dec 15, 2018
1 parent 7a668ee commit 95ad6af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings/blt.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
// When developing locally, we use the host name to determine which site
// factory site is active. The hostname must have a corresponding entry
// under the multisites key.
$input = new ArgvInput($_SERVER['argv']);
$input = new ArgvInput(!empty($_SERVER['argv']) ? $_SERVER['argv'] : ['']);
$config_initializer = new ConfigInitializer($repo_root, $input);
$blt_config = $config_initializer->initialize();

Expand Down

0 comments on commit 95ad6af

Please sign in to comment.