mirror of
https://github.com/mosbth/cimage.git
synced 2025-01-16 18:48:14 +01:00
Update CHttpGet.php for php 8.1 deprecated notice
This commit is contained in:
parent
80cd4e092f
commit
3d7adcdbde
@ -215,7 +215,7 @@ class CHttpGet
|
||||
{
|
||||
$type = isset($this->response['header']['Content-Type'])
|
||||
? $this->response['header']['Content-Type']
|
||||
: null;
|
||||
: '';
|
||||
|
||||
return preg_match('#[a-z]+/[a-z]+#', $type)
|
||||
? $type
|
||||
|
Loading…
x
Reference in New Issue
Block a user