mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 13:16:32 +02:00
Fix possible falsy return of getopt()
This commit is contained in:
parent
894cd5814f
commit
619cb730ef
2 changed files with 3 additions and 2 deletions
|
@ -31,4 +31,4 @@ $dice = (new Dice())->addRules(require(dirname(__DIR__) . '/static/dependencies.
|
|||
|
||||
$app = \Friendica\App::fromDice($dice);
|
||||
|
||||
$app->processDaemon($_SERVER['argv'] ?? [], $options);
|
||||
$app->processDaemon($_SERVER['argv'] ?? [], $options ?: []);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue