mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-09-14 12:02:59 +00:00
Fix IHTTPResult::getHeader()
- Now returns a string array, like expected - Fix usages - Fix dataset
This commit is contained in:
parent
0be3439cb7
commit
732acbf7a7
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ function mailstream_do_images($a, &$item, &$attachments) {
|
||||||
'data' => $curlResult->getBody(),
|
'data' => $curlResult->getBody(),
|
||||||
'guid' => hash("crc32", $url),
|
'guid' => hash("crc32", $url),
|
||||||
'filename' => basename($components['path']),
|
'filename' => basename($components['path']),
|
||||||
'type' => $curlResult->getContentType()
|
'type' => $curlResult->getContentType()[0] ?? ''
|
||||||
];
|
];
|
||||||
|
|
||||||
if (strlen($attachments[$url]['data'])) {
|
if (strlen($attachments[$url]['data'])) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue