Closed MegaphoneJon closed 5 years ago
When CiviCRM is invoked from the CLI (e.g. with cv) this line gives an error (since $_SERVER['REQUEST_URI'] isn't set when invoked from the CLI). This causes headers to be sent, which in turn can cause other commands not to run.
cv
$_SERVER['REQUEST_URI']
Yes, the patch rightly fixed the error as I confirmed on my local. Merging it now.
When CiviCRM is invoked from the CLI (e.g. with
cv
) this line gives an error (since$_SERVER['REQUEST_URI']
isn't set when invoked from the CLI). This causes headers to be sent, which in turn can cause other commands not to run.