Skip to content

Commit

Permalink
Merge pull request #333 from 202ecommerce/bugfix/46428-improvment
Browse files Browse the repository at this point in the history
refs #46428 small modif
  • Loading branch information
bogdan202 authored Jun 14, 2024
2 parents 22c0083 + ee06989 commit 39e8d10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/API/Injector/UserAgentInjector.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ protected function getUserAgent()
_PS_VERSION_,
$this->module->version,
PHP_VERSION,
str_replace(' ', '_', php_uname('s') . ' ' . php_uname('r')),
php_uname('m')
function_exists('php_uname') ? str_replace(' ', '_', php_uname('s') . ' ' . php_uname('r')) : 'Undefined',
function_exists('php_uname') ? php_uname('m') : 'Undefined'
);
}
}

0 comments on commit 39e8d10

Please sign in to comment.