fixed typo

fixes #5339
This commit is contained in:
Carsten Brandt
2014-10-03 17:47:08 +02:00
parent 9d81395a6d
commit f85f339356
2 changed files with 2 additions and 2 deletions

View File

@ -319,7 +319,7 @@ class Connection extends Component
$body = '';
$options = [
CURLOPT_USERAGENT => 'Yii Framework 2 ' . __CLASS__,
CURLOPT_USERAGENT => 'Yii Framework ' . Yii::getVersion() . __CLASS__,
CURLOPT_RETURNTRANSFER => false,
CURLOPT_HEADER => false,
// http://www.php.net/manual/en/function.curl-setopt.php#82418