Skip to content

Commit

Permalink
Fix: Helper UA.
Browse files Browse the repository at this point in the history
  • Loading branch information
safronik authored and safronik committed Sep 3, 2021
1 parent e449c83 commit 5d0430d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uniforce/lib/Cleantalk/USP/Uniforce/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static public function http__request($url, $data = array(), $presets = null, $op
// Set APBCT User-Agent and passing data to parent method
$opts = self::array_merge__save_numeric_keys(
array(
CURLOPT_USERAGENT => 'SPBCT-uni/' . (defined('SPBC_VERSION') ? SPBC_VERSION : 'unknown') . '; ' . Server::get('SERVER_NAME'),
CURLOPT_USERAGENT => 'SPBCT-uni/' . (defined('SPBCT_VERSION') ? SPBCT_VERSION : 'unknown') . '; ' . Server::get('SERVER_NAME'),
),
$opts
);
Expand Down

0 comments on commit 5d0430d

Please sign in to comment.