mirror of
https://github.com/friendica/friendica
synced 2025-04-27 08:30:10 +00:00
Renamed functions
This commit is contained in:
parent
1fe55679fc
commit
8841519c0d
6 changed files with 17 additions and 17 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* @file src/Protocol/ActivityPub.php
|
||||
* @file src/Protocol/ActivityPub/Processor.php
|
||||
*/
|
||||
namespace Friendica\Protocol\ActivityPub;
|
||||
|
||||
|
@ -93,7 +93,7 @@ class Processor
|
|||
foreach ($attachments as $attach) {
|
||||
$filetype = strtolower(substr($attach['mediaType'], 0, strpos($attach['mediaType'], '/')));
|
||||
if ($filetype == 'image') {
|
||||
$item['body'] .= "\n[img]".$attach['url'].'[/img]';
|
||||
$item['body'] .= "\n[img]" . $attach['url'] . '[/img]';
|
||||
} else {
|
||||
if (!empty($item["attach"])) {
|
||||
$item["attach"] .= ',';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue