mirror of
https://github.com/friendica/friendica
synced 2024-11-11 05:42:53 +00:00
Changed return value
This commit is contained in:
parent
2c730a5c45
commit
c37663f1c1
1 changed files with 2 additions and 2 deletions
|
@ -228,7 +228,7 @@ class CurlResult
|
||||||
*
|
*
|
||||||
* @param string $field optional header field. Return all fields if empty
|
* @param string $field optional header field. Return all fields if empty
|
||||||
*
|
*
|
||||||
* @return string|bool the Curl headers, "false" when field isn't found
|
* @return string the Curl headers or the specified content of the header variable
|
||||||
*/
|
*/
|
||||||
public function getHeader(string $field = '')
|
public function getHeader(string $field = '')
|
||||||
{
|
{
|
||||||
|
@ -245,7 +245,7 @@ class CurlResult
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue