You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to check the transactions' statuses that are in progress in a CLI command.
BarionClient throws an error because of there is no HTTP_USER_AGENT key under $_SERVER variable when I use CLI.
$userAgent = $_SERVER['HTTP_USER_AGENT'];
if ($userAgent == "") {
I think it would be better that way.
$userAgent = $_SERVER['HTTP_USER_AGENT'] ?? null;
if (empty($userAgent)) {
The text was updated successfully, but these errors were encountered:
I would like to check the transactions' statuses that are in progress in a CLI command.
BarionClient throws an error because of there is no HTTP_USER_AGENT key under $_SERVER variable when I use CLI.
I think it would be better that way.
The text was updated successfully, but these errors were encountered: