1
0
Fork 0

Fix diagnose output when libz is not present for curl, refs #10153

pull/10158/head
Jordi Boggiano 2021-10-13 22:39:47 +02:00
parent cf7fa7087c
commit f587237c55
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ EOT
$version = curl_version(); $version = curl_version();
return '<comment>'.$version['version'].'</comment> '. return '<comment>'.$version['version'].'</comment> '.
'libz <comment>'.(isset($version['libz_version']) ? $version['libz_version'] : 'missing').'</comment> '. 'libz <comment>'.(!empty($version['libz_version']) ? $version['libz_version'] : 'missing').'</comment> '.
'ssl <comment>'.(isset($version['ssl_version']) ? $version['ssl_version'] : 'missing').'</comment>'; 'ssl <comment>'.(isset($version['ssl_version']) ? $version['ssl_version'] : 'missing').'</comment>';
} }